From 1d4a36c69913f117516b0f062745fe95d35545ba Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 23 Sep 2018 17:14:29 +0200 Subject: [PATCH] ip/ipconfig: valid lifetime is in seconds, not milliseconds. --- sys/src/cmd/ip/ipconfig/ipv6.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/src/cmd/ip/ipconfig/ipv6.c b/sys/src/cmd/ip/ipconfig/ipv6.c index 2c29bc9cc..ff3b7a963 100644 --- a/sys/src/cmd/ip/ipconfig/ipv6.c +++ b/sys/src/cmd/ip/ipconfig/ipv6.c @@ -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;