From: Willy Tarreau Date: Wed, 10 Apr 2013 14:31:11 +0000 (+0200) Subject: BUG/MINOR: tcp: fix error reporting for TCP rules X-Git-Tag: v1.5-dev19~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deaec2fda31ca2a3a30d146233ceebfbc6de647e;p=thirdparty%2Fhaproxy.git BUG/MINOR: tcp: fix error reporting for TCP rules tcp-request swapped two output words in the error message, making it meaningless. --- diff --git a/src/proto_tcp.c b/src/proto_tcp.c index 781b24a740..7c03798c10 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c @@ -1429,7 +1429,7 @@ static int tcp_parse_tcp_req(char **args, int section_type, struct proxy *curpx, else memprintf(err, "'%s' expects 'inspect-delay', 'connection', or 'content' in %s '%s' (got '%s')", - args[0], args[1], proxy_type_str(curpx), curpx->id); + args[0], proxy_type_str(curpx), curpx->id, args[1]); goto error; }