]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix resolver responses statistics counter
authorAram Sargsyan <aram@isc.org>
Thu, 6 Mar 2025 14:26:23 +0000 (14:26 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Tue, 18 Mar 2025 16:20:59 +0000 (16:20 +0000)
commit12e7dfa397c92807bdc4e6f55918d46eb15e0600
tree9d1c3d6dda415904c041468d1f112a543e358a70
parentc6e57108467ad1aa2a7e593c45e58fb0c3d1c1c7
Fix resolver responses statistics counter

The resquery_response() function increases the response counter without
checking if the response was successful. Increase the counter only when
the result indicates success.
lib/dns/resolver.c