fix typo
This commit is contained in:
parent
04853d8a82
commit
ed52f174ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52564
@ -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 New Issue
Block a user