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);