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
This commit is contained in:
@@ -54,7 +54,8 @@ struct server_config_t {
|
||||
struct static_lease *static_leases; /* List of ip/mac pairs to assign static leases */
|
||||
};
|
||||
|
||||
extern struct server_config_t server_config;
|
||||
#define server_config (*(struct server_config_t*)&bb_common_bufsiz1)
|
||||
|
||||
extern struct dhcpOfferedAddr *leases;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user