]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: dns: check for duplicate nameserver id in a resolvers section was missing
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 2 Nov 2015 21:55:49 +0000 (22:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Nov 2015 08:56:29 +0000 (09:56 +0100)
commita315c5534eeebaf33f0a5a0e1fa4a37b50d761ab
tree3f349fb2faccf03a589d32eaf0799d7d0a3c572f
parent5ac425ca489831fbea2a95b8c7e420ee7a5f8560
BUG/MINOR: dns: check for duplicate nameserver id in a resolvers section was missing

Current resolvers section parsing function is permissive on nameserver
id and two nameservers may have the same id.
It's a shame, since we don't know for example, whose statistics belong
to which nameserver...

From now, configuration with duplicated nameserver id in a resolvers
section are considered as broken and returns a fatal error when parsing.
src/cfgparse.c