Skip to content

Commit

Permalink
rec: TCP counterpart to protobufServer(.. {taggedOnly=true}) fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g0tar committed Jan 4, 2025
1 parent 647162c commit fc26c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/recursordist/rec-tcp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ static void doProcessTCPQuestion(std::unique_ptr<DNSComboWriter>& comboWriter, s
t_Counters.at(rec::Histogram::cumulativeAnswers)(spentUsec);
comboWriter->d_eventTrace.add(RecEventTrace::AnswerSent);

if (t_protobufServers.servers && comboWriter->d_logResponse && (!luaconfsLocal->protobufExportConfig.taggedOnly || !pbData || pbData->d_tagged)) {
if (t_protobufServers.servers && comboWriter->d_logResponse && (!luaconfsLocal->protobufExportConfig.taggedOnly || (pbData && pbData->d_tagged))) {
struct timeval tval
{
0, 0
Expand Down

0 comments on commit fc26c93

Please sign in to comment.