From 8b352050c56c9e7dd1864335679210101294759f Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 10 Jul 2015 11:57:03 +0200 Subject: [PATCH] dnsscan: remove useless code --- pdns/dnsscan.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/pdns/dnsscan.cc b/pdns/dnsscan.cc index 7a10e4a8b..f9a0afc33 100644 --- a/pdns/dnsscan.cc +++ b/pdns/dnsscan.cc @@ -54,20 +54,6 @@ try if(mdp.d_qtype < 256) counts[mdp.d_qtype]++; - for(unsigned int i=0; i < mdp.d_qname.length(); ++i) - if(!isalnum(mdp.d_qname[i]) && mdp.d_qname[i]!='.' && mdp.d_qname[i]!='-' && mdp.d_qname[i]!='_') { - // cout< 256 || mdp.d_qclass!=1 ) { - // sock.sendTo(string(pr.d_payload, pr.d_payload + pr.d_len), remote); - - } - for(MOADNSParser::answers_t::const_iterator i=mdp.d_answers.begin(); i!=mdp.d_answers.end(); ++i) { - - } - } catch(MOADNSException &e) { cout<<"Error from remote "<