From b48f958e052d519e98c878bc869f0f121d908689 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 5 Sep 2011 01:17:06 +0200 Subject: [PATCH] [CLEANUP] cfgparse: fix reported options for the "bind" keyword --- src/cfgparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index 48d261714..5b942e2ea 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;