diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-06 00:48:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-06 00:48:59 +0000 |
commit | f15d4dad66374f1b035e2ee59a6495ab4743646a (patch) | |
tree | 4eadd327d98aa598444f1f7bfecf6ba08b62e0e6 /Config.h | |
parent | 5efa2291aa133feac7c46e0fa853becf4116f998 (diff) | |
download | busybox-w32-f15d4dad66374f1b035e2ee59a6495ab4743646a.tar.gz busybox-w32-f15d4dad66374f1b035e2ee59a6495ab4743646a.tar.bz2 busybox-w32-f15d4dad66374f1b035e2ee59a6495ab4743646a.zip |
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 @@ | |||
284 | // Support for Minix filesystem, version 2 | 284 | // Support for Minix filesystem, version 2 |
285 | //#define BB_FEATURE_MINIX2 | 285 | //#define BB_FEATURE_MINIX2 |
286 | // | 286 | // |
287 | // Enable ifconfig status reporting output -- this feature adds 12k. | ||
288 | //#define BB_FEATURE_IFCONFIG_STATUS | ||
287 | // | 289 | // |
288 | // Enable busybox --install [-s] | 290 | // Enable busybox --install [-s] |
289 | // to create links (or symlinks) for all the commands that are | 291 | // to create links (or symlinks) for all the commands that are |
@@ -393,6 +395,14 @@ | |||
393 | #endif | 395 | #endif |
394 | #endif | 396 | #endif |
395 | // | 397 | // |
398 | #if defined BB_IFCONFIG | ||
399 | #ifdef BB_FEATURE_IFCONFIG_STATUS | ||
400 | #define BB_INTERFACE | ||
401 | #endif | ||
402 | #else | ||
403 | #undef BB_INTERFACE | ||
404 | #endif | ||
405 | // | ||
396 | #if defined BB_FEATURE_AUTOWIDTH | 406 | #if defined BB_FEATURE_AUTOWIDTH |
397 | #ifndef BB_FEATURE_USE_TERMIOS | 407 | #ifndef BB_FEATURE_USE_TERMIOS |
398 | #define BB_FEATURE_USE_TERMIOS | 408 | #define BB_FEATURE_USE_TERMIOS |