shell: Remove interface down warning in ifconfig

Whether an interface down is supported or not depends on the interface
driver.
This commit is contained in:
Sebastian Huber
2012-12-14 10:23:30 +01:00
parent c40f36b08b
commit ea4f072ef3

View File

@@ -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));