bind9/bin/check
Ondřej Surý 3e5fedfcfa Resolve ERR_MISSING_GLUE / ERR_EXTRA_AAAA value collision
Both constants were defined as 5. The symbol table used by checkns() to
deduplicate log messages keys on (name, error_code), so logging an
extra-AAAA error caused logged() to also return true for the
missing-glue check, silently skipping the entire missing-glue block for
the same name in named-checkzone and named-checkconf -z.

Convert the ERR_* defines to an auto-numbered enum so the compiler
guarantees the values stay pairwise distinct.

Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit 72d21a0806)
2026-04-29 15:32:03 +00:00
..
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
check-tool.c Resolve ERR_MISSING_GLUE / ERR_EXTRA_AAAA value collision 2026-04-29 15:32:03 +00:00
check-tool.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00
named-checkconf.c standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
named-checkconf.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 11:01:32 +01:00
named-checkzone.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
named-checkzone.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 11:01:32 +01:00
named-compilezone.rst Fix the reference to RFC 1035 in named-compilezone(1) 2023-02-13 16:33:38 +00:00