mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-26 11:22:52 -04:00
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
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| check-tool.c | ||
| check-tool.h | ||
| Makefile.am | ||
| named-checkconf.c | ||
| named-checkconf.rst | ||
| named-checkzone.c | ||
| named-checkzone.rst | ||
| named-compilezone.rst | ||