diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-29 08:17:45 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-29 08:17:45 +0000 |
commit | b539c8452f823a377bf629cf0e44ccda4a16c6c4 (patch) | |
tree | e131460f8227136ba2a76b1cc57efb491bd2f548 /networking/udhcp/dhcpd.h | |
parent | 64309f8669f08f2c3c16a3b5bf82d9cae84ec388 (diff) | |
download | busybox-w32-b539c8452f823a377bf629cf0e44ccda4a16c6c4.tar.gz busybox-w32-b539c8452f823a377bf629cf0e44ccda4a16c6c4.tar.bz2 busybox-w32-b539c8452f823a377bf629cf0e44ccda4a16c6c4.zip |
dhcp: heed TODO item - divorced options from their string descriptions
code shrink while at it.
function old new delta
dhcp_option_strings - 258 +258
udhcp_run_script 1135 1174 +39
dhcp_option_lengths - 11 +11
udhcp_add_simple_option 93 92 -1
packet_num 4 - -4
read_opt 746 739 -7
udhcp_option_lengths 11 - -11
udhcpc_main 2590 2494 -96
dhcp_options 490 70 -420
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 1/4 up/down: 308/-539) Total: -231 bytes
text data bss dec hex filename
775309 929 9100 785338 bfbba busybox_old
775098 929 9084 785111 bfad7 busybox_unstripped
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index 28106d306..216b7ab64 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -100,7 +100,7 @@ int send_inform(struct dhcpMessage *oldpacket); | |||
100 | int read_config(const char *file); | 100 | int read_config(const char *file); |
101 | void write_leases(void); | 101 | void write_leases(void); |
102 | void read_leases(const char *file); | 102 | void read_leases(const char *file); |
103 | struct option_set *find_option(struct option_set *opt_list, char code); | 103 | struct option_set *find_option(struct option_set *opt_list, uint8_t code); |
104 | 104 | ||
105 | 105 | ||
106 | #endif | 106 | #endif |