mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
fix typo
This commit is contained in:
parent
04853d8a82
commit
ed52f174ee
1 changed files with 2 additions and 2 deletions
|
|
@ -1304,11 +1304,11 @@ AAA
|
|||
}
|
||||
FREE(sp, M_NETGRAPH);
|
||||
hook->private = NULL;
|
||||
/* work out how many session hooks there are
|
||||
/* work out how many session hooks there are */
|
||||
/* Node goes away on last session hook removal */
|
||||
hooks = node->numhooks; /* this one already not counted */
|
||||
if (privp->ethernet_hook) hooks -= 1;
|
||||
if (privp->debug) hooks -= 1;
|
||||
if (privp->debug_hook) hooks -= 1;
|
||||
if (hooks == 0)
|
||||
ng_rmnode(node);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue