]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: Fix a wrong error message during 'usesrc' keyword parsing.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 14 Apr 2017 13:19:56 +0000 (15:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 15 Apr 2017 11:42:55 +0000 (13:42 +0200)
commit8d083ed796af135be942594182f4fc83459ee43a
treeefce0c85c819d611100ca6ff08dcbfb584190cd2
parent2c9744fe56825c83d62fd94db52fbb489227f4cd
BUG/MINOR: server: Fix a wrong error message during 'usesrc' keyword parsing.

'usesrc' setting is not permitted on 'server' lines if not provided after
'source' setting. This is now also the case on 'default-server' lines.
Without this patch parse_server() parser displayed that 'usersrc' is
an unknown keyword.

Should have come with dba9707 commit.
src/server.c