diff options
author | Manuel Novoa III | 2001-08-10 06:02:23 +0000 |
---|---|---|
committer | Manuel Novoa III | 2001-08-10 06:02:23 +0000 |
commit | 4fb0b517035ddc189bd696e3175bf18dbc37d441 (patch) | |
tree | d4a60afff2a00178ee98061428be703bd262267d /Config.h | |
parent | 6c4250c0dc154cf52b49246c6b6489f5059d4192 (diff) | |
download | busybox-4fb0b517035ddc189bd696e3175bf18dbc37d441.zip busybox-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |