]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[CLEANUP] cfgparse: fix reported options for the "bind" keyword
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Sep 2011 23:17:06 +0000 (01:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Sep 2011 23:17:06 +0000 (01:17 +0200)
src/cfgparse.c

index 48d2617144638796c0f66e0b39d5f98afb8f1ae6..5b942e2ea94708dc537ea06b12f8241811466c7b 100644 (file)
@@ -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;