ip/ipconfig: valid lifetime is in seconds, not milliseconds.
This commit is contained in:
parent
74272a8364
commit
1d4a36c699
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue