diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-08-10 06:02:23 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-08-10 06:02:23 +0000 |
commit | 4fb0b517035ddc189bd696e3175bf18dbc37d441 (patch) | |
tree | d4a60afff2a00178ee98061428be703bd262267d /Config.h | |
parent | 6c4250c0dc154cf52b49246c6b6489f5059d4192 (diff) | |
download | busybox-w32-4fb0b517035ddc189bd696e3175bf18dbc37d441.tar.gz busybox-w32-4fb0b517035ddc189bd696e3175bf18dbc37d441.tar.bz2 busybox-w32-4fb0b517035ddc189bd696e3175bf18dbc37d441.zip |
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 @@ | |||
319 | // Support for Minix filesystem, version 2 | 319 | // Support for Minix filesystem, version 2 |
320 | //#define BB_FEATURE_MINIX2 | 320 | //#define BB_FEATURE_MINIX2 |
321 | // | 321 | // |
322 | // Enable ifconfig status reporting output -- this feature adds 12k. | 322 | // Enable ifconfig status reporting output -- this feature adds 7k. |
323 | //#define BB_FEATURE_IFCONFIG_STATUS | 323 | //#define BB_FEATURE_IFCONFIG_STATUS |
324 | // | 324 | // |
325 | // Enable ifconfig slip-specific options "keepalive" and "outfill" | 325 | // Enable ifconfig slip-specific options "keepalive" and "outfill" |
@@ -331,6 +331,10 @@ | |||
331 | // Enable ifconfig option "hw". Currently works for only with "ether". | 331 | // Enable ifconfig option "hw". Currently works for only with "ether". |
332 | //#define BB_FEATURE_IFCONFIG_HW | 332 | //#define BB_FEATURE_IFCONFIG_HW |
333 | // | 333 | // |
334 | // Allows "broadcast +" to set broadcast automatically based on hostaddr | ||
335 | // and netmask, at a cost of about 100 bytes of code (i386). | ||
336 | //#define BB_FEATURE_IFCONFIG_BROADCAST_PLUS | ||
337 | // | ||
334 | // Enable busybox --install [-s] | 338 | // Enable busybox --install [-s] |
335 | // to create links (or symlinks) for all the commands that are | 339 | // to create links (or symlinks) for all the commands that are |
336 | // compiled into the binary. (needs /proc filesystem) | 340 | // compiled into the binary. (needs /proc filesystem) |