]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Revert "Downgrade the dns_clientinfomethod structure to the version in lib/dns/client...
authorOndřej Surý <ondrej@sury.org>
Thu, 20 Jun 2019 10:39:34 +0000 (12:39 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 20 Jun 2019 12:24:29 +0000 (14:24 +0200)
This reverts commit a6f09b2255e323d8c49306ef0af6b4f7565baa61.

(cherry picked from commit 04961a7e6b62fa2d7846097be6de34021d71706a)

contrib/dlz/modules/include/dlz_minimal.h

index 51261b6778b8852f71a775ab61fe2ce9ec8f9a55..7bd6775c21021ec9b790209fc0fc2ed75416651c 100644 (file)
@@ -125,12 +125,13 @@ typedef isc_result_t (*dns_clientinfo_sourceip_t)(dns_clientinfo_t *client,
 typedef isc_result_t (*dns_clientinfo_version_t)(dns_clientinfo_t *client,
                                                  void **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;
        uint16_t age;
        dns_clientinfo_sourceip_t sourceip;
+       dns_clientinfo_version_t dbversion;
 } dns_clientinfomethods_t;
 #endif /* DLZ_DLOPEN_VERSION > 1 */