diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-07-19 17:40:45 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-07-19 17:40:45 +0000 |
commit | 80ed051e0ce8db1d25fa18e69fb262d52af7d891 (patch) | |
tree | 48ce534e30a27b209b5ff7350830046539440903 /sys/net/if.c | |
parent | afad68b5dc9dd7ac9e87c87a272c5dad1a689597 (diff) | |
download | FreeBSD-src-80ed051e0ce8db1d25fa18e69fb262d52af7d891.zip FreeBSD-src-80ed051e0ce8db1d25fa18e69fb262d52af7d891.tar.gz |
Normalize field naming for struct vnet, fix two debugging printfs that
print them.
Reviewed by: bz
Approved by: re (kensmith, kib)
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index a267747..608eb08 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -593,7 +593,7 @@ if_attach_internal(struct ifnet *ifp, int vmove) IFNET_WLOCK(); TAILQ_INSERT_TAIL(&V_ifnet, ifp, if_link); #ifdef VIMAGE - curvnet->ifcnt++; + curvnet->vnet_ifcnt++; #endif IFNET_WUNLOCK(); @@ -758,7 +758,7 @@ if_detach_internal(struct ifnet *ifp, int vmove) } #ifdef VIMAGE if (found) - curvnet->ifcnt--; + curvnet->vnet_ifcnt--; #endif IFNET_WUNLOCK(); if (!found) { |