]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: acl: use temp_pattern to store any address-type information
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2011 16:49:52 +0000 (17:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Dec 2011 16:33:26 +0000 (17:33 +0100)
commitf4362b3e3b97a09a029e79664c548c3fb76d247a
tree5d1b35a71254e8bf259c5787fceab67206e6f7b2
parenta5e375646cf5cb07b9a6904e1771af0dddc70e7f
MEDIUM: acl: use temp_pattern to store any address-type information

IPv4 and IPv6 addresses are now stored into temp_pattern instead of
the dirty hack consisting into storing them into the consumer's target
address.

Some refactoring should now be possible since the methods used to fetch
source and destination addresses are similar between patterns and ACLs.
src/acl.c
src/proto_http.c
src/proto_tcp.c