diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-30 17:55:43 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-30 17:55:43 +0000 |
commit | deabacdf91c6d1c3cfcdb4cd06780807193de81d (patch) | |
tree | 546e3aac68a3d6388a518f0bb8c5a64b6570f158 /networking/udhcp/dhcpd.h | |
parent | d7b3350eb3eb8d906702db2d845196bab8c98e6e (diff) | |
download | busybox-w32-deabacdf91c6d1c3cfcdb4cd06780807193de81d.tar.gz busybox-w32-deabacdf91c6d1c3cfcdb4cd06780807193de81d.tar.bz2 busybox-w32-deabacdf91c6d1c3cfcdb4cd06780807193de81d.zip |
move udhcp_{client/server}_config to common_bufsiz1
udhcp_run_script 1108 1151 +43
init_packet 209 210 +1
udhcpc_main 2395 2393 -2
udhcp_client_config 56 - -56
udhcp_server_config 88 - -88
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 2/1 up/down: 44/-146) Total: -102 bytes
text data bss dec hex filename
771326 1029 9696 782051 beee3 busybox_old
771383 1029 9552 781964 bee8c busybox_unstripped
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index fc6b1d6ab..28106d306 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -54,7 +54,8 @@ struct server_config_t { | |||
54 | struct static_lease *static_leases; /* List of ip/mac pairs to assign static leases */ | 54 | struct static_lease *static_leases; /* List of ip/mac pairs to assign static leases */ |
55 | }; | 55 | }; |
56 | 56 | ||
57 | extern struct server_config_t server_config; | 57 | #define server_config (*(struct server_config_t*)&bb_common_bufsiz1) |
58 | |||
58 | extern struct dhcpOfferedAddr *leases; | 59 | extern struct dhcpOfferedAddr *leases; |
59 | 60 | ||
60 | 61 | ||