]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acl: add types to ACL patterns
authorWilly Tarreau <w@1wt.eu>
Fri, 27 Apr 2012 20:10:57 +0000 (22:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:21 +0000 (20:57 +0200)
commitc92ddbc37d5726d19b7a7f35065be3780fb0c4f1
treedb32332dd76d9fb87bf81473c6c74a02c89cab09
parentcd3b094618232465a25f870bc76ba3dcee7b4a90
MINOR: acl: add types to ACL patterns

We cannot currently match IPv6 addresses in ACL simply because we don't
support types on the patterns. Let's introduce this notion. For now, we
rely on the SMP_TYPES though it doesn't seem like it will last forever
given that some types are not present there (eg: regex, meth). Still it
should be enough to support mixed matchings for most types.

We use the special impossible value SMP_TYPES for types that don't exist
in the SMP_T_* space.
include/types/acl.h
src/acl.c