]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] the "connslots" keyword was matched as "connlots"
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Mar 2009 18:15:37 +0000 (19:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Mar 2009 20:31:36 +0000 (21:31 +0100)
This bug has been lying there since the patch got merged.

src/backend.c

index ed291dacf777bb3b51c5de9b8b21118178b67642..73fb1129f76bcb33311c36cd397f75e1a5150d80 100644 (file)
@@ -2100,7 +2100,7 @@ acl_fetch_connslots(struct proxy *px, struct session *l4, void *l7, int dir,
 /* Note: must not be declared <const> as its list will be overwritten */
 static struct acl_kw_list acl_kws = {{ },{
        { "nbsrv",    acl_parse_int,   acl_fetch_nbsrv,     acl_match_int, ACL_USE_NOTHING },
-       { "connlots", acl_parse_int,   acl_fetch_connslots, acl_match_int, ACL_USE_NOTHING },
+       { "connslots", acl_parse_int,   acl_fetch_connslots, acl_match_int, ACL_USE_NOTHING },
        { NULL, NULL, NULL, NULL },
 }};