mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-06 09:35:22 -04:00
[BUG] default ACLs did not properly set the ->requires flag
This bug caused TCP proxies not to report incorrect use of some
aliases of HTTP ACLs.
(cherry picked from commit a55b7dc528)
This commit is contained in:
parent
d720927951
commit
7313a7e604
1 changed files with 1 additions and 0 deletions
|
|
@ -847,6 +847,7 @@ struct acl *find_acl_default(const char *acl_name, struct list *known_acl)
|
|||
goto out_free_name;
|
||||
|
||||
cur_acl->name = name;
|
||||
cur_acl->requires |= acl_expr->kw->requires;
|
||||
LIST_INIT(&cur_acl->expr);
|
||||
LIST_ADDQ(&cur_acl->expr, &acl_expr->list);
|
||||
if (known_acl)
|
||||
|
|
|
|||
Loading…
Reference in a new issue