From 45ced96af00d374f2f52ea8cdd3bad9445fbc0af Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 6 Apr 1998 11:43:12 +0000 Subject: Use getmicrotime() for if_lastchange, 10msec is plenty precision. --- sys/net/if_tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_tun.c') 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) { -- cgit v1.1