diff --git a/src/ndhc.c b/src/ndhc.c index f0623e2..bee0b8e 100644 --- a/src/ndhc.c +++ b/src/ndhc.c @@ -409,6 +409,7 @@ static void do_ndhc_work(void) arp_wake_ts : cs.dhcp_wake_ts) - nowts; } if (tt > INT_MAX) tt = INT_MAX; + if (tt < INT_MIN) tt = INT_MIN; timeout = tt; if (timeout < 0) timeout = 0;