From 66fb3ff67097d2e99bdf18254ebc01bcec963c29 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 9 Oct 2024 15:52:33 +0200 Subject: [PATCH] - Fix for dnstap compile of doqclient with doq disabled. --- doc/Changelog | 1 + testcode/doqclient.c | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index fd5f506a7..707d3d645 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -7,6 +7,7 @@ pass that with `--with-ssl=path` to compile unbound as well. - Fix to limit NSEC TTL for messages from cachedb. Fix to limit the prefetch ttl for messages after a CNAME with short TTL. + - Fix for dnstap compile of doqclient with doq disabled. 8 October 2024: Wouter - Fix #1149: unbound-control-setup hangs sometimes depending on diff --git a/testcode/doqclient.c b/testcode/doqclient.c index 4ba4f8c40..1a2fd4183 100644 --- a/testcode/doqclient.c +++ b/testcode/doqclient.c @@ -2683,3 +2683,19 @@ void remote_get_opt_ssl(char* ATTR_UNUSED(str), void* ATTR_UNUSED(arg)) { log_assert(0); } + +#ifdef USE_DNSTAP +void dtio_tap_callback(int ATTR_UNUSED(fd), short ATTR_UNUSED(ev), + void* ATTR_UNUSED(arg)) +{ + log_assert(0); +} +#endif + +#ifdef USE_DNSTAP +void dtio_mainfdcallback(int ATTR_UNUSED(fd), short ATTR_UNUSED(ev), + void* ATTR_UNUSED(arg)) +{ + log_assert(0); +} +#endif