From: W.C.A. Wijngaards Date: Wed, 23 Sep 2020 12:30:31 +0000 (+0200) Subject: - Fix to ifdef fptr wlist item for dnstap. X-Git-Tag: release-1.12.0rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3527171397ce1fd619fcce5ca53632fcc6a3aa38;p=thirdparty%2Funbound.git - Fix to ifdef fptr wlist item for dnstap. --- 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; }