In article <[EMAIL PROTECTED]> (at Fri, 9 Dec 2005 12:02:03 +0200 (EET)), Pekka Savola <[EMAIL PROTECTED]> says:
> How do you differentiate between these two cases? One is valid while > the other is not, but both seem valid to me. > > default via fe80::20a:5eff:fe51:7d58 dev eth1 proto kernel metric 1024 > expires 21334348sec mtu 1500 advmss 1440 metric 10 64 > > default via fe80::20a:5eff:fe51:7d58 dev eth1 proto kernel metric 1024 > expires 174sec mtu 1500 advmss 1440 metric 10 64 > > Maybe there is some information ("this route has been marked dead") > that isn't available in '/sbin/ip -6 r l'? Yes/No; we don't have such kind of flags, but routes holds time of expiration in jiffies (rt6i_expires). The above is probably because of bug in the code for reporting expiration time to userspace; we have been using jiffies_to_clock_t(rt6i_expires - jiffies), but probably, we should use just 0, or -jiffies_to_clock_t(jiffies - rt6i_expires) if time_after(jiffies, rt6i_expires). Regards, --yoshfuji - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html