summaryrefslogtreecommitdiffstats
path: root/freebsd-userspace/rtems/include/rtems/netcmds-config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-11 19:03:46 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-10-11 19:03:46 -0500
commit44ffbd53c6b956ef12d2e530d04ec5b530c2b161 (patch)
tree6a5e1d2f36b5e420a9b9386490f3d4d32e5fe511 /freebsd-userspace/rtems/include/rtems/netcmds-config.h
parentUserspace Makefile: Clean up yacc/lex handling to avoid conflicts (diff)
downloadrtems-libbsd-44ffbd53c6b956ef12d2e530d04ec5b530c2b161.tar.bz2
Add ifconfig command as RTEMS Shell command
This is enough to be able to invoke the ifconfig command but it calls exit() which is inappropriate. The "struct option" in the ifconfig code conflicts with a structure of the same name in newlib's and glibc's getopt.h.
Diffstat (limited to 'freebsd-userspace/rtems/include/rtems/netcmds-config.h')
-rw-r--r--freebsd-userspace/rtems/include/rtems/netcmds-config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd-userspace/rtems/include/rtems/netcmds-config.h b/freebsd-userspace/rtems/include/rtems/netcmds-config.h
index 932465f8..f684816d 100644
--- a/freebsd-userspace/rtems/include/rtems/netcmds-config.h
+++ b/freebsd-userspace/rtems/include/rtems/netcmds-config.h
@@ -25,8 +25,8 @@
extern rtems_shell_cmd_t rtems_shell_PING_Command;
extern rtems_shell_cmd_t rtems_shell_PING6_Command;
- // extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
- // extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
+ extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
+ extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
// extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
// #endif