mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
BUG/MINOR: error on unknown statement in ring section.
Previously unknown statements were silently ignored.
This commit is contained in:
parent
dcd58afaf1
commit
9f2ff3a700
@ -437,6 +437,11 @@ int cfg_parse_ring(const char *file, int linenum, char **args, int kwm)
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
else {
|
||||
ha_alert("parsing [%s:%d] : unknown statement '%s'.\n", file, linenum, args[0]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto err;
|
||||
}
|
||||
|
||||
err:
|
||||
return err_code;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user