From: Willy Tarreau Date: Wed, 23 Feb 2011 14:24:16 +0000 (+0100) Subject: [MINOR] acl: srv_id is only valid in responses X-Git-Tag: v1.5-dev8~313 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a0d828546b99263b295a31436924bf2b205bc90;p=thirdparty%2Fhaproxy.git [MINOR] acl: srv_id is only valid in responses --- diff --git a/src/backend.c b/src/backend.c index c63bc3a71f..6d1adff4b9 100644 --- a/src/backend.c +++ b/src/backend.c @@ -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 }, }};