aboutsummaryrefslogtreecommitdiff
path: root/Config.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-08-10 06:02:23 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-08-10 06:02:23 +0000
commit4fb0b517035ddc189bd696e3175bf18dbc37d441 (patch)
treed4a60afff2a00178ee98061428be703bd262267d /Config.h
parent6c4250c0dc154cf52b49246c6b6489f5059d4192 (diff)
downloadbusybox-4fb0b517035ddc189bd696e3175bf18dbc37d441.tar.gz
This corrects the _really_poor_ implementation of "broadcast +" handling
by ifconfig that someone had submitted. It fixes 1 bug, gets rid of the excessive bloating of a structure that is used in a static const array, and removes the implicit struct copys by keeping only the int type needed. It also turns this into a configurable feature (off by default).
Diffstat (limited to 'Config.h')
-rw-r--r--Config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Config.h b/Config.h
index e6f5315f2..c46e2d282 100644
--- a/Config.h
+++ b/Config.h
@@ -319,7 +319,7 @@
// Support for Minix filesystem, version 2
//#define BB_FEATURE_MINIX2
//
-// Enable ifconfig status reporting output -- this feature adds 12k.
+// Enable ifconfig status reporting output -- this feature adds 7k.
//#define BB_FEATURE_IFCONFIG_STATUS
//
// Enable ifconfig slip-specific options "keepalive" and "outfill"
@@ -331,6 +331,10 @@
// Enable ifconfig option "hw". Currently works for only with "ether".
//#define BB_FEATURE_IFCONFIG_HW
//
+// Allows "broadcast +" to set broadcast automatically based on hostaddr
+// and netmask, at a cost of about 100 bytes of code (i386).
+//#define BB_FEATURE_IFCONFIG_BROADCAST_PLUS
+//
// Enable busybox --install [-s]
// to create links (or symlinks) for all the commands that are
// compiled into the binary. (needs /proc filesystem)