From: Steven Barth <steven@midlink.org>
Date: Tue, 13 Jan 2015 08:36:42 +0000 (+0100)
Subject: set default information refresh time to 86400 as per RFC 4242
X-Git-Tag: debian/1.1+git20160131-1~34
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c42e34111e19bd435dc4b5bb3ba81224ea214314;p=odhcp6c.git

set default information refresh time to 86400 as per RFC 4242
---

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, };