diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-02 13:04:19 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-02 13:04:19 +0000 |
commit | 2e4c3c4cc3c2f6bdd3bfbafe9980f46b24971009 (patch) | |
tree | e7e729631b8b8150cb25349534ae16c2d7f12562 /networking/udhcp/dhcpc.h | |
parent | 0edbdd8ac8c0add7902d73a7ef921abba9f5752a (diff) | |
download | busybox-w32-2e4c3c4cc3c2f6bdd3bfbafe9980f46b24971009.tar.gz busybox-w32-2e4c3c4cc3c2f6bdd3bfbafe9980f46b24971009.tar.bz2 busybox-w32-2e4c3c4cc3c2f6bdd3bfbafe9980f46b24971009.zip |
udhcpc: add -o "do not request options by default" switch
(by L. Gabriel Somlo <somlo AT cmu.edu>)
function old new delta
udhcpc_main 2513 2554 +41
static.udhcpc_longopts 226 247 +21
add_param_req_option 119 132 +13
packed_usage 23952 23964 +12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 87/0) Total: 87 bytes
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r-- | networking/udhcp/dhcpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index d0fde7302..c8acd4982 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -21,6 +21,7 @@ struct client_config_t { | |||
21 | char release_on_quit; /* Perform release on quit */ | 21 | char release_on_quit; /* Perform release on quit */ |
22 | char abort_if_no_lease; /* Abort if no lease */ | 22 | char abort_if_no_lease; /* Abort if no lease */ |
23 | char background_if_no_lease; /* Fork to background if no lease */ | 23 | char background_if_no_lease; /* Fork to background if no lease */ |
24 | char no_default_options; /* Do not include default optins in request */ | ||
24 | const char *interface; /* The name of the interface to use */ | 25 | const char *interface; /* The name of the interface to use */ |
25 | char *pidfile; /* Optionally store the process ID */ | 26 | char *pidfile; /* Optionally store the process ID */ |
26 | const char *script; /* User script to run at dhcp events */ | 27 | const char *script; /* User script to run at dhcp events */ |