diff options
author | phk <phk@FreeBSD.org> | 1998-04-06 11:43:12 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-04-06 11:43:12 +0000 |
commit | 45ced96af00d374f2f52ea8cdd3bad9445fbc0af (patch) | |
tree | 4dfd4cd1f4eee1dc65f5c28652916ae2a1b4e160 /sys/net/if_tun.c | |
parent | fe94bc82888551c452b52083bbfe584035456bdc (diff) | |
download | FreeBSD-src-45ced96af00d374f2f52ea8cdd3bad9445fbc0af.zip FreeBSD-src-45ced96af00d374f2f52ea8cdd3bad9445fbc0af.tar.gz |
Use getmicrotime() for if_lastchange, 10msec is plenty precision.
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r-- | sys/net/if_tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index b80fdd5..f6097a7 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -229,7 +229,7 @@ tuninit(unit) TUNDEBUG("%s%d: tuninit\n", ifp->if_name, ifp->if_unit); ifp->if_flags |= IFF_UP | IFF_RUNNING; - microtime(&ifp->if_lastchange); + getmicrotime(&ifp->if_lastchange); for (ifa = ifp->if_addrhead.tqh_first; ifa; ifa = ifa->ifa_link.tqe_next) { |