diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-21 00:43:11 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-03-21 00:43:11 +0100 |
commit | e5ce91b41b657a0dbd1db442ebc47f4c935e7d1f (patch) | |
tree | ca7537fff5a9026bdfe5c5c5104b65d6c2a5ebd0 /examples | |
parent | 87fa216e1e388c537cda2cff126eea816a4135ac (diff) | |
download | busybox-w32-e5ce91b41b657a0dbd1db442ebc47f4c935e7d1f.tar.gz busybox-w32-e5ce91b41b657a0dbd1db442ebc47f4c935e7d1f.tar.bz2 busybox-w32-e5ce91b41b657a0dbd1db442ebc47f4c935e7d1f.zip |
udhcp: code shrink; disable time and log server options
function old new delta
add_server_options - 100 +100
udhcp_add_simple_option 92 90 -2
nobody_responds_to_arp 88 85 -3
dhcp_options 66 62 -4
udhcp_add_option_string 104 94 -10
udhcp_run_script 665 654 -11
dhcp_option_strings 203 188 -15
static.blank_chaddr 16 - -16
send_ACK 211 180 -31
add_bootp_options 61 - -61
udhcpd_main 1925 1846 -79
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 0/8 up/down: 100/-232) Total: -132 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/udhcp/udhcpd.conf | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf index 0ad982b55..a27a05357 100644 --- a/examples/udhcp/udhcpd.conf +++ b/examples/udhcp/udhcpd.conf | |||
@@ -77,7 +77,7 @@ option lease 864000 # 10 days | |||
77 | #opt domain STRING - client's domain name | 77 | #opt domain STRING - client's domain name |
78 | #opt search STRING_LIST - search domains | 78 | #opt search STRING_LIST - search domains |
79 | #opt nisdomain STRING | 79 | #opt nisdomain STRING |
80 | #opt timezone NUM | 80 | #opt timezone NUM - (localtime - UTC_time) in seconds. signed |
81 | #opt tftp STRING - TFTP server name | 81 | #opt tftp STRING - TFTP server name |
82 | #opt bootfile STRING - file (kernel image) to load for booting | 82 | #opt bootfile STRING - file (kernel image) to load for booting |
83 | #opt bootsize NUM - size of that file | 83 | #opt bootsize NUM - size of that file |
@@ -89,10 +89,11 @@ option lease 864000 # 10 days | |||
89 | #opt dns IP_LIST | 89 | #opt dns IP_LIST |
90 | #opt wins IP_LIST | 90 | #opt wins IP_LIST |
91 | #opt nissrv IP_LIST | 91 | #opt nissrv IP_LIST |
92 | #opt namesrv IP_LIST - obsolete, disabled | 92 | #opt ntpsrv IP_LIST |
93 | #opt logsrv IP_LIST | ||
94 | #opt cookiesrv IP_LIST - rarely (never?) used, disabled | ||
95 | #opt lprsrv IP_LIST | 93 | #opt lprsrv IP_LIST |
96 | #opt swapsrv IP | 94 | #opt swapsrv IP |
97 | #opt timesrv IP_LIST | 95 | # Obsolete options, no longer supported |
98 | #opt ntpsrv IP_LIST | 96 | #opt logsrv IP_LIST - 704/UDP log server (not syslog!) |
97 | #opt namesrv IP_LIST - IEN 116 name server, obsolete (August 1979!!!) | ||
98 | #opt cookiesrv IP_LIST - RFC 865 "quote of the day" server, rarely (never?) used | ||
99 | #opt timesrv IP_LIST - RFC 868 time server, rarely (never?) used | ||