From: Willy Tarreau Date: Sun, 4 Sep 2011 23:17:06 +0000 (+0200) Subject: [CLEANUP] cfgparse: fix reported options for the "bind" keyword X-Git-Tag: v1.5-dev8~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b48f958e052d519e98c878bc869f0f121d908689;p=thirdparty%2Fhaproxy.git [CLEANUP] cfgparse: fix reported options for the "bind" keyword --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 48d2617144..5b942e2ea9 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -855,7 +855,7 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm) continue; } - Alert("parsing [%s:%d] : '%s' only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name', 'id', 'mss' and 'interface' options.\n", + Alert("parsing [%s:%d] : '%s' only supports the 'prefix', 'mode', 'uid', 'gid', 'user' and 'group' options.\n", file, linenum, args[0]); err_code |= ERR_ALERT | ERR_FATAL; goto out; @@ -1849,7 +1849,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm) continue; } - Alert("parsing [%s:%d] : '%s' only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name', 'id', 'mss' and 'interface' options.\n", + Alert("parsing [%s:%d] : '%s' only supports the 'transparent', 'accept-proxy', 'defer-accept', 'name', 'id', 'mss', 'mode', 'uid', 'gid', 'user', 'group' and 'interface' options.\n", file, linenum, args[0]); err_code |= ERR_ALERT | ERR_FATAL; goto out;