mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
CLEANUP: acl: remove obsolete test in parse_acl_expr()
The ACL keyword returned by find_acl_kw() is checked for having a valid ->parse() function. This dates back 2007 when ACLs were reworked in order to differenciate old and new keywords. This check is inappropriate and confusing since all keywords have a parser now.
This commit is contained in:
parent
e87cac16cc
commit
2049092f26
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
|
|||
al->conv = NULL;
|
||||
|
||||
aclkw = find_acl_kw(args[0]);
|
||||
if (aclkw && aclkw->parse) {
|
||||
if (aclkw) {
|
||||
/* OK we have a real ACL keyword */
|
||||
|
||||
/* build new sample expression for this ACL */
|
||||
|
|
|
|||
Loading…
Reference in a new issue