From 3527171397ce1fd619fcce5ca53632fcc6a3aa38 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 23 Sep 2020 14:30:31 +0200 Subject: [PATCH] - Fix to ifdef fptr wlist item for dnstap. --- doc/Changelog | 1 + util/fptr_wlist.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index 4cd9a8e78..453607b62 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,7 @@ - Fix #305: dnstap logging significantly affects unbound performance (regression in 1.11). - Fix #305: only wake up thread when threshold reached. + - Fix to ifdef fptr wlist item for dnstap. 23 September 2020: Ralph - Fix edns-client-tags get_option typo diff --git a/util/fptr_wlist.c b/util/fptr_wlist.c index 241d9e540..7d15d1075 100644 --- a/util/fptr_wlist.c +++ b/util/fptr_wlist.c @@ -138,7 +138,9 @@ fptr_whitelist_comm_timer(void (*fptr)(void*)) else if(fptr == &auth_xfer_probe_timer_callback) return 1; else if(fptr == &auth_xfer_transfer_timer_callback) return 1; else if(fptr == &mesh_serve_expired_callback) return 1; +#ifdef USE_DNSTAP else if(fptr == &mq_wakeup_cb) return 1; +#endif return 0; }