From 97b4f83bb303ecca334b0af681feaaa90c0fa36c Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 26 Dec 2007 19:33:53 +0000 Subject: [PATCH] Fix incorrectly placed bracket in pppoe_find_svc(). --- sys/netgraph/ng_pppoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index b62d8121061d..13404510de3c 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -540,7 +540,7 @@ pppoe_find_svc(node_p node, const char *svc_name, int svc_len) neg = sp->neg; if (neg->service_len == svc_len && - strncmp(svc_name, neg->service.data, svc_len == 0)) + strncmp(svc_name, neg->service.data, svc_len) == 0) return (hook); }