]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change the invalid CIDR from parser error to warning
authorOndřej Surý <ondrej@isc.org>
Wed, 3 Jun 2020 12:42:11 +0000 (14:42 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 3 Jun 2020 20:17:02 +0000 (22:17 +0200)
commit7e2d9531a79d289ee99dd436da14efb6d9a505fc
tree6b526a0aa52c729d00848b0c843ba4ffea63e4e1
parentd392679e24be81dfdae7aaceab5a167e73603ce5
Change the invalid CIDR from parser error to warning

In [RT #43367], the BIND 9 changed the strictness of address / prefix
length checks:

    Check prefixes in acls to make sure the address and
    prefix lengths are consistent.  Warn only in
    BIND 9.11 and earlier.

Unfortunately, a regression slipped in and the check was made an error
also in the BIND 9.11.  This commit fixes the regression, but turning
the error into a warning.
bin/tests/system/checkconf/tests.sh
bin/tests/system/checkconf/warn-address-prefix-length-mismatch.conf [moved from bin/tests/system/checkconf/bad-ipv4-prefix-dotted2.conf with 70% similarity]
lib/isccfg/parser.c
util/copyrights