2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

3375. [bug] 'rndc dumpdb' failed on empty caches. [RT #30808]

This commit is contained in:
Mark Andrews
2012-09-14 07:53:19 +10:00
parent e272bc7e5b
commit 5f26ffc2b4
5 changed files with 66 additions and 2 deletions

View File

@@ -1492,7 +1492,7 @@ dumptostreaminc(dns_dumpctx_t *dctx) {
}
result = dns_dbiterator_first(dctx->dbiter);
if (result != ISC_R_SUCCESS)
if (result != ISC_R_SUCCESS && result != ISC_R_NOMORE)
goto cleanup;
dctx->first = ISC_FALSE;