From: Willy Tarreau Date: Tue, 9 Nov 2010 08:50:37 +0000 (+0100) Subject: [MINOR] cfgparse: report support of for the 'bind' statements X-Git-Tag: v1.5-dev8~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d55c3feca69d86a0483c8edd1bf4190ff532412d;p=thirdparty%2Fhaproxy.git [MINOR] cfgparse: report support of for the 'bind' statements "bind" now supports unix sockets, so report that in the error message. --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 59e238c782..034fe62209 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1414,7 +1414,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm) err_code |= ERR_WARN; if ( *(args[1]) != '/' && strchr(args[1], ':') == NULL) { - Alert("parsing [%s:%d] : '%s' expects [addr1]:port1[-end1]{,[addr]:port[-end]}... as arguments.\n", + Alert("parsing [%s:%d] : '%s' expects {|[addr1]:port1[-end1]}{,[addr]:port[-end]}... as arguments.\n", file, linenum, args[0]); err_code |= ERR_ALERT | ERR_FATAL; goto out;