Call bpfdetach() before going away.

This commit is contained in:
archie 2000-03-21 01:42:56 +00:00
parent dab1eb80fd
commit 1773c43543

View File

@ -765,6 +765,7 @@ ng_iface_rmnode(node_p node)
ng_cutlinks(node);
ng_unname(node);
bpfdetach(priv->ifp);
if_detach(priv->ifp);
priv->ifp = NULL;
ng_iface_free_unit(priv->unit);