]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] acl: srv_id is only valid in responses
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2011 14:24:16 +0000 (15:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2011 14:32:21 +0000 (15:32 +0100)
src/backend.c

index c63bc3a71f23fd38ce5490f75901536e03431fc6..6d1adff4b979f21e627c20d8ef5c4f3e45ee4375 100644 (file)
@@ -1517,7 +1517,7 @@ static struct acl_kw_list acl_kws = {{ },{
        { "queue",        acl_parse_int,     acl_fetch_queue_size,     acl_match_int,     ACL_USE_NOTHING },
        { "avg_queue",    acl_parse_int,     acl_fetch_avg_queue_size, acl_match_int,     ACL_USE_NOTHING },
        { "srv_is_up",    acl_parse_nothing, acl_fetch_srv_is_up,      acl_match_nothing, ACL_USE_NOTHING },
-       { "srv_id",       acl_parse_int,     acl_fetch_srv_id,         acl_match_int,     ACL_USE_NOTHING },
+       { "srv_id",       acl_parse_int,     acl_fetch_srv_id,         acl_match_int,     ACL_USE_RTR_INTERNAL },
        { NULL, NULL, NULL, NULL },
 }};