summaryrefslogtreecommitdiffstats
path: root/sys/net/if_atmsubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_atmsubr.c')
-rw-r--r--sys/net/if_atmsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c
index b005f80..7df2626 100644
--- a/sys/net/if_atmsubr.c
+++ b/sys/net/if_atmsubr.c
@@ -108,7 +108,7 @@ atm_output(ifp, m0, dst, rt0)
if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
senderr(ENETDOWN);
- gettime(&ifp->if_lastchange);
+ getmicrotime(&ifp->if_lastchange);
/*
* check route
@@ -263,7 +263,7 @@ atm_input(ifp, ah, m, rxhand)
m_freem(m);
return;
}
- gettime(&ifp->if_lastchange);
+ getmicrotime(&ifp->if_lastchange);
ifp->if_ibytes += m->m_pkthdr.len;
#if NBPFILTER > 0
OpenPOWER on IntegriCloud