]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: config: http-request configuration error message misses new keywords
authorBaptiste Assmann <bedis9@gmail.com>
Sat, 5 Jan 2013 15:02:07 +0000 (16:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 5 Jan 2013 15:53:49 +0000 (16:53 +0100)
"redirect" and "tarpit" keywords were missing from http-request configuration
error message.

src/proto_http.c

index a2f14c9293865b5cc5a575420178d312d2f206a0..2a88fe0aca4ba7d308d685a61523432537a27d09 100644 (file)
@@ -8137,7 +8137,7 @@ struct http_req_rule *parse_http_req_cond(const char **args, const char *file, i
                cur_arg = 2;
                return rule;
        } else {
-               Alert("parsing [%s:%d]: 'http-request' expects 'allow', 'deny', 'auth', 'add-header', 'set-header', but got '%s'%s.\n",
+               Alert("parsing [%s:%d]: 'http-request' expects 'allow', 'deny', 'auth', 'redirect', 'tarpit', 'add-header', 'set-header', but got '%s'%s.\n",
                      file, linenum, args[0], *args[0] ? "" : " (missing argument)");
                goto out_err;
        }