commit | deaec2fda31ca2a3a30d146233ceebfbc6de647e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Apr 10 16:31:11 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 11 17:24:53 2013 +0200 |
tree | f004294da6ffe3ad56c0e34fe98a5f41c46797cb | |
parent | e3cf2229ad3ca563dbae80d0f2f37209fffddbe3 [diff] |
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 781b24a..7c03798 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c
@@ -1429,7 +1429,7 @@ 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; }