Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Sep 16, 2021
1 parent 898ff85 commit ed3e9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/responsestats-auth.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void ResponseStats::submitResponse(DNSPacket &p, bool udpOrTCP, bool last) const
static AtomicCounter &tcpbytesanswered4=*S.getPointer("tcp4-answers-bytes");
static AtomicCounter &tcpbytesanswered6=*S.getPointer("tcp6-answers-bytes");

ComboAddress& accountremote = p.d_remote;
ComboAddress accountremote = p.d_remote;
if (p.d_inner_remote) accountremote = *p.d_inner_remote;

if(p.d.aa) {
Expand Down

0 comments on commit ed3e9d7

Please sign in to comment.