mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 12:00:00 -04:00
support $INCLUDE in makejournal
bin/tests/system/makejournal needs to ignore DNS_R_SEENINCLUDE when calling dns_db_load(), otherwise it cannot generate a journal for a zone file with a $INCLUDE statement.
This commit is contained in:
parent
c3fd94cd4d
commit
d2597e3496
1 changed files with 3 additions and 0 deletions
|
|
@ -75,6 +75,9 @@ loadzone(dns_db_t **db, const char *origin, const char *filename) {
|
|||
}
|
||||
|
||||
result = dns_db_load(*db, filename, dns_masterformat_text, 0);
|
||||
if (result == DNS_R_SEENINCLUDE) {
|
||||
result = ISC_R_SUCCESS;
|
||||
}
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue