From: Baptiste Assmann Date: Sat, 5 Jan 2013 15:02:07 +0000 (+0100) Subject: MINOR: config: http-request configuration error message misses new keywords X-Git-Tag: v1.5-dev18~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=116eefed8f27f0a22fa675689e166731d3dcf8cb;p=thirdparty%2Fhaproxy.git MINOR: config: http-request configuration error message misses new keywords "redirect" and "tarpit" keywords were missing from http-request configuration error message. --- diff --git a/src/proto_http.c b/src/proto_http.c index a2f14c9293..2a88fe0aca 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -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; }