diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-16 11:18:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-16 11:18:49 +0200 |
commit | a840884531df649aabc72debb2d6025dabe2abb3 (patch) | |
tree | f953e5ac4ac2c7ae6535ac5569fb809cef9d929a /networking/udhcp/dhcpd.h | |
parent | 9bf6780c2888805908d9485681dadffeab3414f7 (diff) | |
download | busybox-w32-a840884531df649aabc72debb2d6025dabe2abb3.tar.gz busybox-w32-a840884531df649aabc72debb2d6025dabe2abb3.tar.bz2 busybox-w32-a840884531df649aabc72debb2d6025dabe2abb3.zip |
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 <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 | |||
15 | #define DHCPD_CONF_FILE "/etc/udhcpd.conf" | 15 | #define DHCPD_CONF_FILE "/etc/udhcpd.conf" |
16 | 16 | ||
17 | 17 | ||
18 | struct static_lease { | 18 | struct static_lease; |
19 | struct static_lease *next; | ||
20 | uint32_t nip; | ||
21 | uint8_t mac[6]; | ||
22 | }; | ||
23 | 19 | ||
24 | struct server_config_t { | 20 | struct server_config_t { |
25 | char *interface; /* interface to use */ | 21 | char *interface; /* interface to use */ |