rpms/bind/devel bind-9.3.1-next_server_on_referral.patch,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Aug 17 02:28:19 UTC 2005


Author: jvdias

Update of /cvs/dist/rpms/bind/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17512

Modified Files:
	bind-9.3.1-next_server_on_referral.patch 
Log Message:
further 160914 fix: test for RD=1 and RA=0 also as suggested by ISC and for ARCOUNT=0 as does glibc

bind-9.3.1-next_server_on_referral.patch:
 dighost.c |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

Index: bind-9.3.1-next_server_on_referral.patch
===================================================================
RCS file: /cvs/dist/rpms/bind/devel/bind-9.3.1-next_server_on_referral.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bind-9.3.1-next_server_on_referral.patch	7 Jul 2005 19:06:57 -0000	1.1
+++ bind-9.3.1-next_server_on_referral.patch	17 Aug 2005 02:28:17 -0000	1.2
@@ -1,6 +1,6 @@
---- bind-9.3.1/bin/dig/dighost.c.next_server_on_referral	2005-07-07 13:19:29.000000000 -0400
-+++ bind-9.3.1/bin/dig/dighost.c	2005-07-07 14:30:38.000000000 -0400
-@@ -2765,7 +2765,15 @@
+--- bind-9.3.1/bin/dig/dighost.c.next_server_on_referral	2005-08-16 16:27:33.000000000 -0400
++++ bind-9.3.1/bin/dig/dighost.c	2005-08-16 16:27:49.000000000 -0400
+@@ -2765,7 +2765,17 @@
  		UNLOCK_LOOKUP;
  		return;
  	}			
@@ -9,7 +9,9 @@
 +	   &&( (msg->rcode == dns_rcode_servfail)
 +	     ||(  (msg->rcode == dns_rcode_noerror) 
 +	        &&(msg->counts[DNS_SECTION_ANSWER] == 0)
-+		&&((msg->flags & (DNS_MESSAGEFLAG_AA | DNS_MESSAGEFLAG_RA)) == 0)
++	        &&(msg->counts[DNS_SECTION_ADDITIONAL] == 0)
++		&&((msg->flags &  DNS_MESSAGEFLAG_RD) == DNS_MESSAGEFLAG_RD)
++		&&((msg->flags & (DNS_MESSAGEFLAG_RA | DNS_MESSAGEFLAG_AA)) == 0)
 +	       )
 +	     )
 +	   )
@@ -17,7 +19,7 @@
  		dig_query_t *next = ISC_LIST_NEXT(query, link);
  		if (l->current_query == query)
  			l->current_query = NULL;
-@@ -2783,9 +2791,11 @@
+@@ -2783,9 +2793,11 @@
  		 */
  		if ((ISC_LIST_HEAD(l->q) != query) ||
  		    (ISC_LIST_NEXT(query, link) != NULL)) {




More information about the fedora-cvs-commits mailing list