X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.c;h=de452c04a7fef0de9488aef00fdafcac1119e779;hp=c8d40f63b84641d85abbb0bec40d096c68e94c0e;hb=8563be22c8d9e3cf38b26d69d52368c68ad3a6dd;hpb=3d85fddacbbb0eebd33997382997af442b408b04 diff --git a/src/odhcp6c.c b/src/odhcp6c.c index c8d40f6..de452c0 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -69,7 +69,7 @@ int main(_unused int argc, char* const argv[]) enum odhcp6c_ia_mode ia_na_mode = IA_MODE_TRY; enum odhcp6c_ia_mode ia_pd_mode = IA_MODE_TRY; static struct in6_addr ifid = IN6ADDR_ANY_INIT; - int sol_timeout = 120; + int sol_timeout = DHCPV6_SOL_MAX_RT; #ifdef EXT_BFD_PING int bfd_interval = 0, bfd_loss = 3; @@ -318,7 +318,7 @@ int main(_unused int argc, char* const argv[]) else if (do_signal > 0) break; // Other signal type - // If we have any IAs, send renew, otherwise request + // Send renew as T1 expired res = dhcpv6_request(DHCPV6_MSG_RENEW); odhcp6c_signal_process(); if (res > 0) { // Renew was succesfull