set default information refresh time to 86400 as per RFC 4242
authorSteven Barth <steven@midlink.org>
Tue, 13 Jan 2015 08:36:42 +0000 (09:36 +0100)
committerSteven Barth <steven@midlink.org>
Tue, 13 Jan 2015 08:36:42 +0000 (09:36 +0100)
src/dhcpv6.c

index 5cda153..1786688 100644 (file)
@@ -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, };