Changeset 1239
- Timestamp:
- 07/25/08 20:43:39 (5 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/packethandler.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/packethandler.cc
r1232 r1239 604 604 if(!validDNSName(p->qdomain)) { 605 605 if(::arg().mustDo("log-dns-details")) 606 L<<Logger::Error<<"Received a malformed qdomain from "<<p->getRemote()<<", '"<<p->qdomain<<"': dropping"<<endl;606 L<<Logger::Error<<"Received a malformed qdomain from "<<p->getRemote()<<", '"<<p->qdomain<<"': sending servfail"<<endl; 607 607 S.inc("corrupt-packets"); 608 return 0; 608 r=p->replyPacket(); 609 r->setRcode(RCode::ServFail); 610 return r; 609 611 } 610 612 if(p->d.opcode) { // non-zero opcode (again thanks RA!)