From 61cfadb50e2ddce1073760e77880de73eb6e65da Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sun, 16 Mar 2014 03:31:40 +1100 Subject: [PATCH] 3788. [bug] dns_peer_getrequestsit was returning request_nsid by mistake. --- CHANGES | 3 +++ lib/dns/peer.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 1d42048d97..6d2599bd66 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3788. [bug] dns_peer_getrequestsit was returning request_nsid by + mistake. + --- 9.10.0b2 released --- 3787. [bug] The code that checks whether "auto-dnssec" is diff --git a/lib/dns/peer.c b/lib/dns/peer.c index 5108145686..c4df3abafa 100644 --- a/lib/dns/peer.c +++ b/lib/dns/peer.c @@ -468,7 +468,7 @@ dns_peer_getrequestsit(dns_peer_t *peer, isc_boolean_t *retval) { REQUIRE(retval != NULL); if (DNS_BIT_CHECK(REQUEST_SIT_BIT, &peer->bitflags)) { - *retval = peer->request_nsid; + *retval = peer->request_sit; return (ISC_R_SUCCESS); } else return (ISC_R_NOTFOUND);