summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_ppp.c')
-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