]> granicus.if.org Git - pdns/commitdiff
added a commented-out line to change auth traffic into recursive traffic
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 28 Apr 2015 11:36:24 +0000 (13:36 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 28 Apr 2015 11:36:24 +0000 (13:36 +0200)
pdns/dnsreplay.cc

index 9e81356170103a9c5dd772e46ec31b4c989b28a1..dbe36bed40443abf277d96b7395567469e18d63b 100644 (file)
@@ -553,6 +553,7 @@ bool sendPacketFromPR(PcapPacketReader& pr, const ComboAddress& remote)
       qd.d_assignedID = s_idmanager.getID();
       uint16_t tmp=dh->id;
       dh->id=htons(qd.d_assignedID);
+      //      dh->rd=1; // useful to replay traffic to auths to a recursor
       s_socket->sendTo((const char*)pr.d_payload, pr.d_len, remote);
       sent=true;
       dh->id=tmp;