]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to ifdef fptr wlist item for dnstap.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 23 Sep 2020 12:30:31 +0000 (14:30 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 23 Sep 2020 12:30:31 +0000 (14:30 +0200)
doc/Changelog
util/fptr_wlist.c

index 4cd9a8e788af68e8e349d792a403565d9f4aea25..453607b62244f37ec39df0c4b51da0d5ffa27e70 100644 (file)
@@ -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
index 241d9e5407b5a3997844a1aadf60d8bb9780b737..7d15d107561a3411dc35b9b14485a73610e3bccf 100644 (file)
@@ -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;
 }