]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: check the proper variable when parsing log minlvl
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Jan 2013 23:31:24 +0000 (00:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2013 15:19:18 +0000 (16:19 +0100)
commitf7f057bab90ea634b3e5c9c127c8b1c6151368f8
tree052ab7cd81bd5f126622c0f034dc106aa9f42f38
parent846257ececc6ad00cfa75c3a37bb5509303a7c93
BUG/MINOR: config: check the proper variable when parsing log minlvl

logsrv->minlvl gets the numeric log level from the equivalent string.
Upon error, ->level was checked due to a wrong copy-paste. The effect
is that a wrong name will silently be ignored and due to minlvl=-1,
will act as if the option was not set.

No backport is needed, this is 1.5-specific.

Reported-by: Dinko Korunic <dkorunic@reflected.net>
src/cfgparse.c