git: 9front

Download patch

ref: e814370d114e84a8bb552f48fd3424c272b3763f
parent: dc2c161883f9546758f0c68f25e497cfddebe056
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 23 13:14:29 EDT 2018

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

--- a/sys/src/cmd/ip/ipconfig/ipv6.c
+++ b/sys/src/cmd/ip/ipconfig/ipv6.c
@@ -791,8 +791,6 @@
 		r->time = now;
 		r->routerlt = conf.routerlt;
 		r->prefixlt = conf.validlt;
-		if(r->prefixlt != ~0UL)
-			r->prefixlt /= 1000;
 
 		r->next = routelist;
 		routelist = r;
--