aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2008-07-11 19:05:41 +0000
committerDoug Barton <dougb@FreeBSD.org>2008-07-11 19:05:41 +0000
commit35eb96538b1b9c0e7ab6f53753ccb012824a9c8a (patch)
treea631044cbc9f32d781e054610cc82b1cd1f60ce5 /dns
parentaf80cfb8c77bcfdd4bac1b563ad204ff6bf87c5e (diff)
downloadports-35eb96538b1b9c0e7ab6f53753ccb012824a9c8a.tar.gz
ports-35eb96538b1b9c0e7ab6f53753ccb012824a9c8a.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/bind94/files/patch-lib_bind_check.c15
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];
+