aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_pppoe.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1999-10-27 11:53:53 +0000
committerJulian Elischer <julian@FreeBSD.org>1999-10-27 11:53:53 +0000
commited52f174ee7c099ceedd0963caab0d385dc62b02 (patch)
treeb7d75f940f0a5c3123b38d8c9b0741a35ea960db /sys/netgraph/ng_pppoe.c
parent04853d8a8266f41a2164c6b4eb5ec6a2cbf195f9 (diff)
downloadsrc-ed52f174ee7c099ceedd0963caab0d385dc62b02.tar.gz
src-ed52f174ee7c099ceedd0963caab0d385dc62b02.zip
fix typo
Notes
Notes: svn path=/head/; revision=52564
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r--sys/netgraph/ng_pppoe.c4
1 files 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);
}