From ea4f072ef323fac64abeabc675e07c97b66b695b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Dec 2012 10:23:30 +0100 Subject: [PATCH] shell: Remove interface down warning in ifconfig Whether an interface down is supported or not depends on the interface driver. --- cpukit/libmisc/shell/main_ifconfig.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpukit/libmisc/shell/main_ifconfig.c b/cpukit/libmisc/shell/main_ifconfig.c index dbf16183ff..d81d8b005a 100644 --- a/cpukit/libmisc/shell/main_ifconfig.c +++ b/cpukit/libmisc/shell/main_ifconfig.c @@ -218,10 +218,6 @@ static int rtems_shell_main_ifconfig( flags |= IFF_UP; } - if (f_down != 0) { - printf("Warning: taking interfaces down is not supported\n"); - } - rc = rtems_bsdnet_ifconfig(iface, SIOCSIFFLAGS, &flags); if (rc < 0) { printf("Could not set interface flags: %s\n", strerror(errno));