Commit 512661ed authored by Mark Andrews's avatar Mark Andrews
Browse files

370. [bug] The error message for roll forward failures was

                        overly terse.
parent 5080f1b2
370. [bug] The error message for roll forward failures was
overly terse.
369. [func] Support new named.conf options, view and zone
statements:
......
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.173 2000/08/02 22:29:13 explorer Exp $ */
/* $Id: zone.c,v 1.174 2000/08/03 21:24:49 marka Exp $ */
#include <config.h>
......@@ -723,9 +723,14 @@ dns_zone_load(dns_zone_t *zone) {
result = dns_journal_rollforward(zone->mctx, db,
zone->journal);
if (result != ISC_R_SUCCESS && result != ISC_R_NOTFOUND &&
result != DNS_R_UPTODATE && result != DNS_R_NOJOURNAL)
result != DNS_R_UPTODATE && result != DNS_R_NOJOURNAL &&
result != ISC_R_RANGE) {
zone_log(zone, me, ISC_LOG_ERROR,
"dns_journal_rollforward returned: %s",
dns_result_totext(result));
goto cleanup;
if (result == ISC_R_NOTFOUND) {
}
if (result == ISC_R_NOTFOUND || result == ISC_R_RANGE) {
zone_log(zone, me, ISC_LOG_ERROR,
"journal out of sync with zone");
goto cleanup;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment