[unbound] * added unbound-1.4.20-roundrobin.patch

Paul Wouters pwouters at fedoraproject.org
Tue May 28 21:29:37 UTC 2013


commit 593e7abcd81f720e3b890629728a8b9f7ae2427f
Author: Paul Wouters <pwouters at redhat.com>
Date:   Tue May 28 17:29:31 2013 -0400

    * added unbound-1.4.20-roundrobin.patch

 unbound-1.4.20-roundrobin.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/unbound-1.4.20-roundrobin.patch b/unbound-1.4.20-roundrobin.patch
new file mode 100644
index 0000000..dcd4ebc
--- /dev/null
+++ b/unbound-1.4.20-roundrobin.patch
@@ -0,0 +1,12 @@
+diff -Naur unbound-1.4.20-orig/util/data/msgencode.c unbound-1.4.20/util/data/msgencode.c
+--- unbound-1.4.20-orig/util/data/msgencode.c	2012-04-10 05:16:39.000000000 -0400
++++ unbound-1.4.20/util/data/msgencode.c	2013-05-21 15:47:01.435609420 -0400
+@@ -659,7 +659,7 @@
+ 		}
+ 	}
+ 	/* roundrobin offset. using query id for random number */
+-	rr_offset = RRSET_ROUNDROBIN?id:0;
++	rr_offset = RRSET_ROUNDROBIN ? ntohs(id) : 0;
+ 
+ 	/* insert answer section */
+ 	if((r=insert_section(rep, rep->an_numrrsets, &ancount, buffer, 


More information about the scm-commits mailing list