diff options
author | Doug Barton <dougb@FreeBSD.org> | 2008-07-11 19:05:41 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2008-07-11 19:05:41 +0000 |
commit | 35eb96538b1b9c0e7ab6f53753ccb012824a9c8a (patch) | |
tree | a631044cbc9f32d781e054610cc82b1cd1f60ce5 /dns/bind94/files | |
parent | af80cfb8c77bcfdd4bac1b563ad204ff6bf87c5e (diff) |
Notes
Diffstat (limited to 'dns/bind94/files')
-rw-r--r-- | dns/bind94/files/patch-lib_bind_check.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dns/bind94/files/patch-lib_bind_check.c b/dns/bind94/files/patch-lib_bind_check.c new file mode 100644 index 000000000000..ce0cabf2e192 --- /dev/null +++ b/dns/bind94/files/patch-lib_bind_check.c @@ -0,0 +1,15 @@ +--- lib/bind9/check.c.orig 2007-09-12 22:04:01.000000000 -0700 ++++ lib/bind9/check.c 2008-07-11 11:51:01.000000000 -0700 +@@ -1015,10 +1015,10 @@ + isc_buffer_add(&b, strlen(zname)); + tresult = dns_name_fromtext(dns_fixedname_name(&fixedname), &b, + dns_rootname, ISC_TRUE, NULL); +- if (result != ISC_R_SUCCESS) { ++ if (tresult != ISC_R_SUCCESS) { + cfg_obj_log(zconfig, logctx, ISC_LOG_ERROR, + "zone '%s': is not a valid name", zname); +- tresult = ISC_R_FAILURE; ++ result = ISC_R_FAILURE; + } else { + char namebuf[DNS_NAME_FORMATSIZE]; + |