mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Bump DNS_CLIENTINFOMETHODS_VERSION/_AGE to 2/1 in clientinfo.h
BIND 9.11.0 has bumped DNS_CLIENTINFOMETHODS_VERSION and _AGE to version 2 and 1 in the dlz_minimal.h because a member was addet to the dnsclientinfo struct. It was found out that the new member is not used anywhere and there are no accessor functions therefore the change was reverted. Later on, it was found out that the revert caused some problems to the users of BIND 9, and thus this changes takes a different approach by syncing the values other way around.
This commit is contained in:
@@ -58,8 +58,8 @@ typedef struct dns_clientinfo {
|
||||
typedef isc_result_t (*dns_clientinfo_sourceip_t)(dns_clientinfo_t *client,
|
||||
isc_sockaddr_t **addrp);
|
||||
|
||||
#define DNS_CLIENTINFOMETHODS_VERSION 1
|
||||
#define DNS_CLIENTINFOMETHODS_AGE 0
|
||||
#define DNS_CLIENTINFOMETHODS_VERSION 2
|
||||
#define DNS_CLIENTINFOMETHODS_AGE 1
|
||||
|
||||
typedef struct dns_clientinfomethods {
|
||||
uint16_t version;
|
||||
|
Reference in New Issue
Block a user