From a840884531df649aabc72debb2d6025dabe2abb3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 16 May 2019 11:18:49 +0200 Subject: udhcpd: support per-client hostnames in static leases function old new delta read_staticlease 222 299 +77 add_server_options 92 154 +62 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 139/0) Total: 139 bytes Signed-off-by: Denys Vlasenko --- networking/udhcp/dhcpd.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'networking/udhcp/dhcpd.h') diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index b8f96b029..5c3bf5147 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h @@ -15,11 +15,7 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN #define DHCPD_CONF_FILE "/etc/udhcpd.conf" -struct static_lease { - struct static_lease *next; - uint32_t nip; - uint8_t mac[6]; -}; +struct static_lease; struct server_config_t { char *interface; /* interface to use */ -- cgit v1.2.3