5 Commits

Author SHA1 Message Date
Joel Sherrill
25f7f0f9b5 ifconfig.c: Correct for getopt_r() 2012-10-23 11:13:58 -05:00
Jennifer Averett
99ae4eb50f Added rtems exit code to ping, route, and ifconfig commands.
The rtems shell commands should not exit but allow multiple
command attempts and some of the commands share code that
will exit.  For this reason a common exit routine was
provided and code added to err.h to address this.

allow access to it.
2012-10-16 13:38:09 -05:00
Joel Sherrill
44ffbd53c6 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.
2012-10-11 19:03:46 -05:00
Jennifer Averett
3ac9bb177e route.c and ifconfig.c: Added rtems style mains.
Fixed route.c to match freebsd version with only rtems additions.
2012-10-05 13:41:20 -05:00
Jennifer Averett
ebbe3cc71f Added the ifconfig command. 2012-09-07 13:16:22 -05:00