mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Fix incorrectly placed bracket in pppoe_find_svc().
This commit is contained in:
parent
ed04c6bea1
commit
97b4f83bb3
@ -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