From: Steven Barth Date: Wed, 9 Apr 2014 06:56:01 +0000 (+0200) Subject: Fix fallout X-Git-Tag: debian/1.1+git20160131-1~69 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=commitdiff_plain;h=6bbd2b0208fc17b6566595bfdfef2ff1d012d143 Fix fallout --- 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);