mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix incorrectly placed bracket in pppoe_find_svc().
This commit is contained in:
parent
ed04c6bea1
commit
97b4f83bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue