diff --git a/CHANGES b/CHANGES index 355a35b5df..2451243fc0 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +1234. [bug] contrib/sdb: 'zonetodb' failed to call + dns_result_register(). DNS_R_SEENINCLUDE should not + be fatal. + 1233. [bug] The flags field of a KEY record can be expressed in hex as well as decimal. diff --git a/contrib/sdb/pgsql/zonetodb.c b/contrib/sdb/pgsql/zonetodb.c index 2259d0b4a9..3e179f3444 100644 --- a/contrib/sdb/pgsql/zonetodb.c +++ b/contrib/sdb/pgsql/zonetodb.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zonetodb.c,v 1.10 2001/03/17 01:53:01 bwelling Exp $ */ +/* $Id: zonetodb.c,v 1.11 2002/03/19 03:32:08 marka Exp $ */ #include #include @@ -151,6 +151,8 @@ main(int argc, char **argv) { dbname = argv[3]; dbtable = argv[4]; + dns_result_register(); + mctx = NULL; result = isc_mem_create(0, 0, &mctx); check_result(result, "isc_mem_create"); @@ -168,6 +170,8 @@ main(int argc, char **argv) { check_result(result, "dns_db_create"); result = dns_db_load(db, zonefile); + if (result == DNS_R_SEENINCLUDE) + result = ISC_R_SUCCESS; check_result(result, "dns_db_load"); printf("Connecting to '%s'\n", dbname);