From a79cb8a457841a4396c2fb597d7b0b93084ea6c2 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 13 Apr 2018 17:56:51 +0200 Subject: [PATCH] also copy in opcode --- tdns/tdns.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdns/tdns.cc b/tdns/tdns.cc index b3bdba3..b99df88 100644 --- a/tdns/tdns.cc +++ b/tdns/tdns.cc @@ -55,7 +55,7 @@ bool processQuestion(const DNSNode& zones, DNSMessageReader& dm, const ComboAddr try { response.dh.id = dm.dh.id; response.dh.rd = dm.dh.rd; response.dh.ad = response.dh.ra = response.dh.aa = 0; - response.dh.qr = 1; + response.dh.qr = 1; response.dh.opcode = dm.dh.opcode; uint16_t newsize; bool doBit; if(dm.getEDNS(&newsize, &doBit)) {