From 6bbd2b0208fc17b6566595bfdfef2ff1d012d143 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 9 Apr 2014 08:56:01 +0200 Subject: [PATCH] Fix fallout --- src/dhcpv6.c | 2 ++ src/odhcp6c.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 0d206f3..10f98c5 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -1231,6 +1231,8 @@ static int dhcpv6_calc_refresh_timers(void) t1 = l_t1; t2 = l_t2; t3 = l_t3; + } else { + t1 = 600; } return (int)(ia_pd_entries + ia_na_entries); diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 36e9949..f1286e5 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -382,6 +382,7 @@ int main(_unused int argc, char* const argv[]) odhcp6c_clear_state(STATE_SERVER_ID); // Remove binding + size_t ia_pd_len, ia_na_len; odhcp6c_get_state(STATE_IA_PD, &ia_pd_len); odhcp6c_get_state(STATE_IA_NA, &ia_na_len); -- 2.39.2