From c42e34111e19bd435dc4b5bb3ba81224ea214314 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 13 Jan 2015 09:36:42 +0100 Subject: [PATCH] set default information refresh time to 86400 as per RFC 4242 --- src/dhcpv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 5cda153..1786688 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -885,7 +885,7 @@ static int dhcpv6_handle_reply(enum dhcpv6_msg orig, _unused const int rc, { uint8_t *odata; uint16_t otype, olen; - uint32_t refresh = UINT32_MAX; + uint32_t refresh = 86400; int ret = 1; bool handled_status_codes[_DHCPV6_Status_Max] = { false, }; -- 2.39.5