diff options
author | Denis Vlasenko | 2008-05-26 17:32:35 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-05-26 17:32:35 +0000 |
commit | fc9e1080320e52fb97ae694627d8101af64f3dad (patch) | |
tree | 2b57edddb15071f8fa13a47e45a735d0e8c52edc /networking/udhcp/dhcpc.h | |
parent | 6bb55cfb99090565d565588c281c08ca21993e78 (diff) | |
download | busybox-fc9e1080320e52fb97ae694627d8101af64f3dad.zip busybox-fc9e1080320e52fb97ae694627d8101af64f3dad.tar.gz |
udhcpc: shrink
udhcpc: guard against zero lease time
function old new delta
timeout 4 - -4
server_addr 4 - -4
requested_ip 4 - -4
perform_release 134 112 -22
udhcpc_main 2511 2485 -26
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-60) Total: -60 bytes
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r-- | networking/udhcp/dhcpc.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 9331466..97d3b3c 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h @@ -8,15 +8,6 @@ # pragma GCC visibility push(hidden) #endif -#define INIT_SELECTING 0 -#define REQUESTING 1 -#define BOUND 2 -#define RENEWING 3 -#define REBINDING 4 -#define INIT_REBOOT 5 -#define RENEW_REQUESTED 6 -#define RELEASED 7 - struct client_config_t { /* TODO: combine flag fields into single "unsigned opt" */ /* (can be set directly to the result of getopt32) */ |