diff options
author | brooks <brooks@FreeBSD.org> | 2011-11-11 22:57:52 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2011-11-11 22:57:52 +0000 |
commit | e4a4d6436f0f0ff5634e11e201ea62c8556c6be0 (patch) | |
tree | 9c3d4771af4bc09f8669c0cc5c55575e14b30711 /sys/netinet/ip_carp.c | |
parent | 8710aaed7e5126453e85553f99198552d4e65810 (diff) | |
download | FreeBSD-src-e4a4d6436f0f0ff5634e11e201ea62c8556c6be0.zip FreeBSD-src-e4a4d6436f0f0ff5634e11e201ea62c8556c6be0.tar.gz |
In r191367 the need for if_free_type() was removed and a new member
if_alloctype was used to store the origional interface type. Take
advantage of this change by removing all existing uses of if_free_type()
in favor of if_free().
MFC after: 1 Month
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 34dced8..73024f7 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -472,7 +472,7 @@ carp_clone_destroy(struct ifnet *ifp) mtx_unlock(&carp_mtx); bpfdetach(ifp); if_detach(ifp); - if_free_type(ifp, IFT_ETHER); + if_free(ifp); #ifdef INET free(sc->sc_imo.imo_membership, M_CARP); #endif |