diff options
author | andre <andre@FreeBSD.org> | 2005-09-19 22:31:45 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-09-19 22:31:45 +0000 |
commit | c4178ac83e7a9df4a8066ef58796d8b474a13d06 (patch) | |
tree | 191ef8a7b6162cec19ad825899dd1daf581cc079 /sys/netinet/ip_mroute.c | |
parent | b2bf25e5cd5fc02fa46d9db548cf496f7ed135b8 (diff) | |
download | FreeBSD-src-c4178ac83e7a9df4a8066ef58796d8b474a13d06.zip FreeBSD-src-c4178ac83e7a9df4a8066ef58796d8b474a13d06.tar.gz |
Use monotonic 'time_uptime' instead of 'time_second' as timebase
for timeouts.
Diffstat (limited to 'sys/netinet/ip_mroute.c')
-rw-r--r-- | sys/netinet/ip_mroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 9e756c2..078d098 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -1399,8 +1399,8 @@ X_ip_mforward(struct ip *ip, struct ifnet *ifp, struct mbuf *m, * Source-route tunnels are no longer supported. */ static int last_log; - if (last_log != time_second) { - last_log = time_second; + if (last_log != time_uptime) { + last_log = time_uptime; log(LOG_ERR, "ip_mforward: received source-routed packet from %lx\n", (u_long)ntohl(ip->ip_src.s_addr)); |