summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2007-01-18 19:41:39 +0000
committermjacob <mjacob@FreeBSD.org>2007-01-18 19:41:39 +0000
commit6f6da4e54a1b02d5dd2237063607a3b22d39e819 (patch)
treee24bb09fed7d56e71f09bd6a4a666c6573cd3ece /sys/netgraph
parenta312b87531ac2951f73f0137a9d8b5b36f53784a (diff)
downloadFreeBSD-src-6f6da4e54a1b02d5dd2237063607a3b22d39e819.zip
FreeBSD-src-6f6da4e54a1b02d5dd2237063607a3b22d39e819.tar.gz
A less draconian fix to the build.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_ppp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netgraph/ng_ppp.c b/sys/netgraph/ng_ppp.c
index 8356fd8..3df69be 100644
--- a/sys/netgraph/ng_ppp.c
+++ b/sys/netgraph/ng_ppp.c
@@ -1284,10 +1284,8 @@ ng_ppp_rcvdata(hook_p hook, item_p item)
uint16_t proto;
struct mbuf *m;
-/*
- KASSERT(linkNum >= 0 && linkNum < NG_PPP_MAX_LINKS,
+ KASSERT(linkNum < NG_PPP_MAX_LINKS,
("%s: bogus index 0x%x", __func__, index));
-*/
NGI_GET_M(item, m);
OpenPOWER on IntegriCloud