diff options
author | glebius <glebius@FreeBSD.org> | 2014-09-18 10:01:56 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-09-18 10:01:56 +0000 |
commit | bf71125f67007cbce166cbf5bb6459ec0bbf5770 (patch) | |
tree | b1e18fbe026b3a8c5fb2b9c66b8bca796d8f44ab /sys/net/if_vlan.c | |
parent | f76e492f6dfbd579c3522f6e324fde5b1c468b40 (diff) | |
download | FreeBSD-src-bf71125f67007cbce166cbf5bb6459ec0bbf5770.zip FreeBSD-src-bf71125f67007cbce166cbf5bb6459ec0bbf5770.tar.gz |
While not too late rename if_get_counter_compat() to if_get_counter_default().
The compat counters will go away, but the function will remain in its place,
and in all places where it is going to be called.
Discussed with: melifaro
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r-- | sys/net/if_vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 94a9ce0..3e45c66 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1152,7 +1152,7 @@ vlan_get_counter(struct ifnet *ifp, ifnet_counter cnt) case IFCOUNTER_OERRORS: return (counter_u64_fetch(ifv->ifv_oerrors)); default: - return (if_get_counter_compat(ifp, cnt)); + return (if_get_counter_default(ifp, cnt)); } /* NOTREACHED */ } |