mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Merge branch '971-downgrade-DLZ_DBCLIENTINFO_VERSION-in-dlz_minimal.h' into 'master'
Downgrade the dns_clientinfo_t structure to not contain dbversion Closes #971 See merge request isc-projects/bind9!1773
This commit is contained in:
@@ -121,13 +121,12 @@ typedef isc_result_t (*dns_clientinfo_sourceip_t)(dns_clientinfo_t *client,
|
|||||||
typedef isc_result_t (*dns_clientinfo_version_t)(dns_clientinfo_t *client,
|
typedef isc_result_t (*dns_clientinfo_version_t)(dns_clientinfo_t *client,
|
||||||
void **addrp);
|
void **addrp);
|
||||||
|
|
||||||
#define DNS_CLIENTINFOMETHODS_VERSION 2
|
#define DNS_CLIENTINFOMETHODS_VERSION 1
|
||||||
#define DNS_CLIENTINFOMETHODS_AGE 1
|
#define DNS_CLIENTINFOMETHODS_AGE 0
|
||||||
typedef struct dns_clientinfomethods {
|
typedef struct dns_clientinfomethods {
|
||||||
uint16_t version;
|
uint16_t version;
|
||||||
uint16_t age;
|
uint16_t age;
|
||||||
dns_clientinfo_sourceip_t sourceip;
|
dns_clientinfo_sourceip_t sourceip;
|
||||||
dns_clientinfo_version_t dbversion;
|
|
||||||
} dns_clientinfomethods_t;
|
} dns_clientinfomethods_t;
|
||||||
#endif /* DLZ_DLOPEN_VERSION > 1 */
|
#endif /* DLZ_DLOPEN_VERSION > 1 */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user