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/netgraph | |
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/netgraph')
-rw-r--r-- | sys/netgraph/ng_fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_fec.c b/sys/netgraph/ng_fec.c index eff70ea..53f59e7 100644 --- a/sys/netgraph/ng_fec.c +++ b/sys/netgraph/ng_fec.c @@ -1332,7 +1332,7 @@ ng_fec_shutdown(node_p node) } ether_ifdetach(priv->ifp); - if_free_type(priv->ifp, IFT_ETHER); + if_free(priv->ifp); ifmedia_removeall(&priv->ifmedia); ng_fec_free_unit(priv->unit); free(priv, M_NETGRAPH); |