diff options
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 |