summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pppoe.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-10-27 11:53:53 +0000
committerjulian <julian@FreeBSD.org>1999-10-27 11:53:53 +0000
commita7375e191d9fcccb21870288f0ecfc0e75531fa7 (patch)
treeb7d75f940f0a5c3123b38d8c9b0741a35ea960db /sys/netgraph/ng_pppoe.c
parentd65bad1ec7cf22cddce5cce6a05f0f38bd3487a0 (diff)
downloadFreeBSD-src-a7375e191d9fcccb21870288f0ecfc0e75531fa7.zip
FreeBSD-src-a7375e191d9fcccb21870288f0ecfc0e75531fa7.tar.gz
fix typo
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 8312c09..d28c995 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);
}
OpenPOWER on IntegriCloud