mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
rcode was initialized incorrectly in dns_result_torcode()
This commit is contained in:
parent
aa23c665d8
commit
711b0bed7b
@ -127,7 +127,7 @@ dns_result_register(void) {
|
||||
|
||||
dns_rcode_t
|
||||
dns_result_torcode(isc_result_t result) {
|
||||
dns_rcode_t rcode = DNS_R_SERVFAIL;
|
||||
dns_rcode_t rcode = dns_rcode_servfail;
|
||||
|
||||
if (DNS_RESULT_ISRCODE(result)) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user