diff options
author | andre <andre@FreeBSD.org> | 2005-09-19 22:54:55 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-09-19 22:54:55 +0000 |
commit | b1aa5bb640247072fc8d1d7048d185f1394ada0e (patch) | |
tree | 367e738ce0debc500f889e7881a2f0024d561920 /sys/netinet/ip_fastfwd.c | |
parent | c4178ac83e7a9df4a8066ef58796d8b474a13d06 (diff) | |
download | FreeBSD-src-b1aa5bb640247072fc8d1d7048d185f1394ada0e.zip FreeBSD-src-b1aa5bb640247072fc8d1d7048d185f1394ada0e.tar.gz |
Use monotonic 'time_uptime' instead of 'time_second' as timebase
for rt->rt_rmx.rmx_expire.
Diffstat (limited to 'sys/netinet/ip_fastfwd.c')
-rw-r--r-- | sys/netinet/ip_fastfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c index 8a84078..1f5f535 100644 --- a/sys/netinet/ip_fastfwd.c +++ b/sys/netinet/ip_fastfwd.c @@ -495,7 +495,7 @@ passout: * Check if route is dampned (when ARP is unable to resolve) */ if ((ro.ro_rt->rt_flags & RTF_REJECT) && - ro.ro_rt->rt_rmx.rmx_expire >= time_second) { + ro.ro_rt->rt_rmx.rmx_expire >= time_uptime) { icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0); goto consumed; } |