diff options
author | Eric Andersen | 2001-03-06 00:48:59 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-06 00:48:59 +0000 |
commit | f15d4dad66374f1b035e2ee59a6495ab4743646a (patch) | |
tree | 4eadd327d98aa598444f1f7bfecf6ba08b62e0e6 /Config.h | |
parent | 5efa2291aa133feac7c46e0fa853becf4116f998 (diff) | |
download | busybox-f15d4dad66374f1b035e2ee59a6495ab4743646a.zip busybox-f15d4dad66374f1b035e2ee59a6495ab4743646a.tar.gz |
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
Diffstat (limited to 'Config.h')
-rw-r--r-- | Config.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |