diff options
author | Denys Vlasenko | 2019-05-30 16:23:34 +0200 |
---|---|---|
committer | Denys Vlasenko | 2019-05-30 16:23:34 +0200 |
commit | 91755cb16d496d1094f5d81051a1e1e6f27a21c1 (patch) | |
tree | ce34e7c2ccb494afd2ed68e53dec718976f155dc /networking/udhcp/dhcpd.h | |
parent | 726cbb1be8620496cdf05d23bd98bdeb0983b4f0 (diff) | |
download | busybox-91755cb16d496d1094f5d81051a1e1e6f27a21c1.zip busybox-91755cb16d496d1094f5d81051a1e1e6f27a21c1.tar.gz |
udhcp: rename server_config to server_data
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index ba11d77..b42849b 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h @@ -17,7 +17,7 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN struct static_lease; -struct server_config_t { +struct server_data_t { char *interface; /* interface to use */ //TODO: ifindex, server_nip, server_mac // are obtained from interface name. @@ -53,12 +53,12 @@ struct server_config_t { struct static_lease *static_leases; /* List of ip/mac pairs to assign static leases */ } FIX_ALIASING; -#define server_config (*(struct server_config_t*)bb_common_bufsiz1) +#define server_data (*(struct server_data_t*)bb_common_bufsiz1) /* client_data sits in 2nd half of bb_common_bufsiz1 */ #if ENABLE_FEATURE_UDHCP_PORT -#define SERVER_PORT (server_config.port) -#define SERVER_PORT6 (server_config.port) +#define SERVER_PORT (server_data.port) +#define SERVER_PORT6 (server_data.port) #else #define SERVER_PORT 67 #define SERVER_PORT6 547 |