]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change the ISC_R_SUCCESS to DNS_RRL_RESULT_OK in dns_rrl()
authorOndřej Surý <ondrej@sury.org>
Mon, 4 Oct 2021 15:14:53 +0000 (17:14 +0200)
committerOndřej Surý <ondrej@sury.org>
Tue, 5 Oct 2021 20:13:29 +0000 (22:13 +0200)
commit4d85040df5baab2dfb850af2a110f30e840bc9a2
tree75a46091e476e51111dc87dfa815c8f34f1b0c7f
parent4445d0a7d6712cf5f62ab84647ed078190bdbfc5
Change the ISC_R_SUCCESS to DNS_RRL_RESULT_OK in dns_rrl()

There's value mismatch between the return type of dns_rrl() that's
dns_rrl_result_t and ISC_R_SUCCESS which belongs to isc_result_t.  This
works incidentally, because DNS_RRL_RESULT_OK == ISC_R_SUCCESS.

This would break when we change isc_result_t to be static enum in
consecutive commit.  Change the value to match the type.
lib/dns/rrl.c