summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index ae4826e..072a148 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -272,6 +272,9 @@ struct interface {
uint32_t ra_hoplimit;
int ra_mtu;
+ // DHCP
+ uint32_t dhcp_leasetime;
+
// DHCPv4
struct in_addr dhcpv4_start;
struct in_addr dhcpv4_end;
@@ -284,7 +287,6 @@ struct interface {
size_t dhcpv4_router_cnt;
struct in_addr *dhcpv4_dns;
size_t dhcpv4_dns_cnt;
- uint32_t dhcpv4_leasetime;
bool dhcpv4_forcereconf;
// DNS