Fix incorrectly placed bracket in pppoe_find_svc().
This commit is contained in:
parent
ed04c6bea1
commit
97b4f83bb3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174931
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user