Add in a first pass at ifconfig status reporting. It took a long while

hacking on the mess in net-tools-1.59, but it currently adds 12k and
supports ethernet, loop, ppp, and treats everything else as a generic
interface.  Works ok for me.
 -Erik
This commit is contained in:
Eric Andersen
2001-03-06 00:48:59 +00:00
parent 5efa2291aa
commit f15d4dad66
4 changed files with 2500 additions and 500 deletions

View File

@ -284,6 +284,8 @@
// Support for Minix filesystem, version 2
//#define BB_FEATURE_MINIX2
//
// Enable ifconfig status reporting output -- this feature adds 12k.
//#define BB_FEATURE_IFCONFIG_STATUS
//
// Enable busybox --install [-s]
// to create links (or symlinks) for all the commands that are
@ -393,6 +395,14 @@
#endif
#endif
//
#if defined BB_IFCONFIG
#ifdef BB_FEATURE_IFCONFIG_STATUS
#define BB_INTERFACE
#endif
#else
#undef BB_INTERFACE
#endif
//
#if defined BB_FEATURE_AUTOWIDTH
#ifndef BB_FEATURE_USE_TERMIOS
#define BB_FEATURE_USE_TERMIOS