]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] acl: add build_acl_cond() to make it easier to add ACLs in config
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 15:48:33 +0000 (16:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2010 15:48:33 +0000 (16:48 +0100)
commit2bbba415d7d625c084995e2113bb5524dc5645f8
tree5799bed72a228cef7f21023743abfdb2467dce43
parentc3e8b25c795461331b142bf0af82e21d7771f68a
[MINOR] acl: add build_acl_cond() to make it easier to add ACLs in config

This function automatically builds a rule, considering the if/unless
statements, and automatically updates the proxy's acl_requires, the
condition's file and line.
include/proto/acl.h
src/acl.c