From ed52f174ee7c099ceedd0963caab0d385dc62b02 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Wed, 27 Oct 1999 11:53:53 +0000 Subject: [PATCH] fix typo --- sys/netgraph/ng_pppoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index 8312c09f51e0..d28c995c91e0 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -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); }