mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
Call bpfdetach() before going away.
This commit is contained in:
parent
5431b20654
commit
382379f8a8
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue