diff options
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index f3ba3e8..3d41e13 100644 --- a/src/config.c +++ b/src/config.c @@ -229,7 +229,7 @@ static void set_interface_defaults(struct interface *iface) iface->ra = MODE_DISABLED; iface->ndp = MODE_DISABLED; iface->learn_routes = 1; - iface->dhcpv4_leasetime = 43200; + iface->dhcp_leasetime = 43200; iface->dhcpv4_start.s_addr = htonl(START_DEFAULT); iface->dhcpv4_end.s_addr = htonl(START_DEFAULT + LIMIT_DEFAULT - 1); iface->dhcpv6_assignall = true; @@ -547,7 +547,7 @@ int config_parse_interface(void *data, size_t len, const char *name, bool overwr if (time < 0) goto err; - iface->dhcpv4_leasetime = time; + iface->dhcp_leasetime = time; } if ((c = tb[IFACE_ATTR_START])) { |