aboutsummaryrefslogtreecommitdiff
path: root/Config.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-06 00:48:59 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-06 00:48:59 +0000
commitf15d4dad66374f1b035e2ee59a6495ab4743646a (patch)
tree4eadd327d98aa598444f1f7bfecf6ba08b62e0e6 /Config.h
parent5efa2291aa133feac7c46e0fa853becf4116f998 (diff)
downloadbusybox-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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Config.h b/Config.h
index 3fd48314c..9b9eec65c 100644
--- a/Config.h
+++ b/Config.h
@@ -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