mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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.
This commit is contained in:
parent
4445d0a7d6
commit
4d85040df5
1 changed files with 1 additions and 1 deletions
|
|
@ -1113,7 +1113,7 @@ dns_rrl(dns_view_t *view, const isc_sockaddr_t *client_addr, bool is_tcp,
|
|||
}
|
||||
}
|
||||
UNLOCK(&rrl->lock);
|
||||
return (ISC_R_SUCCESS);
|
||||
return (DNS_RRL_RESULT_OK);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue