Call bpfdetach() before going away.
This commit is contained in:
parent
dab1eb80fd
commit
1773c43543
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user