Remove an un-necessary call to microtime() to set if_lastchange
as it is set in the call to if_down in the line above
This commit is contained in:
parent
7976d4aa4f
commit
0cf8755c9b
@ -194,7 +194,6 @@ tunclose(dev_t dev, int foo, int bar, struct proc *p)
|
||||
if (ifp->if_flags & IFF_UP) {
|
||||
s = splimp();
|
||||
if_down(ifp);
|
||||
microtime(&ifp->if_lastchange);
|
||||
if (ifp->if_flags & IFF_RUNNING) {
|
||||
/* find internet addresses and delete routes */
|
||||
register struct ifaddr *ifa;
|
||||
|
Loading…
Reference in New Issue
Block a user