From: W.C.A. Wijngaards Date: Wed, 9 Oct 2024 13:52:33 +0000 (+0200) Subject: - Fix for dnstap compile of doqclient with doq disabled. X-Git-Tag: release-1.22.0rc1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=66fb3ff67097d2e99bdf18254ebc01bcec963c29;p=thirdparty%2Funbound.git - Fix for dnstap compile of doqclient with doq disabled. --- 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