]> git.decadent.org.uk Git - odhcp6c.git/commitdiff
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 5cda153bcdd5dcec3dd8bb4ea709fac62e418d18..17866889e6f06f327c6c48bb81a030e7314e5106 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, };