On Wed, Jun 14, 2017 at 03:03:33PM +0200, Christopher Faulet wrote:
> 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.

Indeed it seems to make sense. I'm not sure it's really a bug or an
indecision in the initial design but if it's loaded as a map and
sharable as such, it must be marked as map.

Applied, thanks.
Willy

Reply via email to