ip/ipconfig: valid lifetime is in seconds, not milliseconds.

This commit is contained in:
cinap_lenrek 2018-09-23 17:14:29 +02:00
parent 74272a8364
commit 1d4a36c699

View file

@ -791,8 +791,6 @@ recvrahost(uchar buf[], int pktlen)
r->time = now;
r->routerlt = conf.routerlt;
r->prefixlt = conf.validlt;
if(r->prefixlt != ~0UL)
r->prefixlt /= 1000;
r->next = routelist;
routelist = r;