commit | 54ceb041d6372a70afdbdd76f4f2bac46a088d18 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Jun 14 14:41:33 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jun 14 16:39:07 2017 +0200 |
tree | acef5d8519e1eedc24066ef10e84f3c069aeefc0 | |
parent | a4d0361969a47e85d41738bdea4578773577fff7 [diff] |
BUG/MINOR: acls: Set the right refflag when patterns are loaded from a map For an ACL, we can load patterns from a map using the flag -M. For example: acl test hdr(host) -M -f hosts.map The file is parsed as a map et the ACL will be executed as expected. But the reference flag is wrong. It is set to PAT_REF_ACL. So the map will never be listed by a "show map" on the stat socket. Setting the reference flag to PAT_REF_ACL|PAT_REF_MAP fixes the bug.