Re: ip -6 route shows incorrect route expiry times
From: Patrick McHardy <hidden>
Date: 2005-01-30 17:09:56
From: Patrick McHardy <hidden>
Date: 2005-01-30 17:09:56
YOSHIFUJI Hideaki / $B5HF#1QL@ wrote:
In article [ref] (at Sun, 30 Jan 2005 16:08:40 +0000), Russell King [off-list ref] says:quoted
rmk@dyn-67:[bk]:<1030> /sbin/ip -6 route; sleep 10; /sbin/ip -6 route default via fe80::a00:2bff:fe95:1d7b dev eth0 proto kernel metric 1024 expires 169sec mtu 1500 advmss 1440 default via fe80::a00:2bff:fe95:1d7b dev eth0 proto kernel metric 1024 expires 168sec mtu 1500 advmss 1440 It appears that the expiry seconds here are actually in units of 10 seconds. Maybe someone's double-converting kernel Hz to user Hz?Kernel exports in USER_HZ. iproute2 seem to convert it again; workaround is to do "export HZ=100".
I've sent this fix to Stephen yesterday. Regards Patrick