File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 2
2
- Fix for dnsoverquic and dnstap to use the correct dnstap
3
3
environment.
4
4
5
+ 16 October 2024: Wouter
6
+ - Fix for dnstap with dnscrypt and dnstap without dnsoverquic.
7
+
5
8
14 October 2024: Wouter
6
9
- Fix to display warning if quic-port is set but dnsoverquic is not
7
10
enabled when compiled.
Original file line number Diff line number Diff line change @@ -6676,12 +6676,19 @@ comm_point_send_reply(struct comm_reply *repinfo)
6676
6676
#endif
6677
6677
} else {
6678
6678
#ifdef USE_DNSTAP
6679
- struct dt_env * dtenv = repinfo -> c -> doq_socket
6680
- ?repinfo -> c -> dtenv
6681
- :repinfo -> c -> tcp_parent -> dtenv ;
6679
+ struct dt_env * dtenv =
6680
+ #ifdef HAVE_NGTCP2
6681
+ repinfo -> c -> doq_socket
6682
+ ?repinfo -> c -> dtenv :
6683
+ #endif
6684
+ repinfo -> c -> tcp_parent -> dtenv ;
6682
6685
struct sldns_buffer * dtbuffer = repinfo -> c -> tcp_req_info
6683
6686
?repinfo -> c -> tcp_req_info -> spool_buffer
6684
6687
:repinfo -> c -> buffer ;
6688
+ #ifdef USE_DNSCRYPT
6689
+ if (repinfo -> c -> dnscrypt && repinfo -> is_dnscrypted )
6690
+ dtbuffer = repinfo -> c -> buffer ;
6691
+ #endif
6685
6692
/*
6686
6693
* sending src (client)/dst (local service) addresses over
6687
6694
* DNSTAP from other callbacks
You can’t perform that action at this time.
0 commit comments