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

1234. [bug] contrib/sdb: 'zonetodb' failed to call

dns_result_register().  DNS_R_SEENINCLUDE should not
                        be fatal.
This commit is contained in:
Mark Andrews
2002-03-19 03:32:08 +00:00
parent 72b6ec6e5d
commit b597abd9cc
2 changed files with 9 additions and 1 deletions

View File

@@ -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.

View File

@@ -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 <isc/buffer.h>
#include <isc/mem.h>
@@ -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);