devip: fix default parameter calculation for router life-time
router life time is in seconds, while max ra interval is in milliseconds!
This commit is contained in:
parent
259ce5e3de
commit
4a92a8f6b2
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ ip_init_6(Fs *f)
|
|||
v6p->rp.reachtime = 0;
|
||||
v6p->rp.rxmitra = 0;
|
||||
v6p->rp.ttl = MAXTTL;
|
||||
v6p->rp.routerlt = 3 * v6p->rp.maxraint;
|
||||
v6p->rp.routerlt = (3 * v6p->rp.maxraint) / 1000;
|
||||
|
||||
v6p->hp.rxmithost = 1000; /* v6 RETRANS_TIMER */
|
||||
|
||||
|
|
Loading…
Reference in a new issue