diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-14 10:23:30 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-18 11:22:17 +0100 |
commit | ea4f072ef323fac64abeabc675e07c97b66b695b (patch) | |
tree | c56bf5294d6acf83c74ccae2351b111f7d31a987 | |
parent | libtests/md501: Use test cases of RFC 2202 (diff) | |
download | rtems-ea4f072ef323fac64abeabc675e07c97b66b695b.tar.bz2 |
shell: Remove interface down warning in ifconfig
Whether an interface down is supported or not depends on the interface
driver.
-rw-r--r-- | cpukit/libmisc/shell/main_ifconfig.c | 4 |
1 files changed, 0 insertions, 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)); |