Line
Link Here
|
0 |
-- pdns/nameserver.cc.orig 2012-01-13 21:43:17.000000000 +0100 |
0 |
++ pdns/nameserver.cc 2012-01-13 21:43:37.000000000 +0100 |
Lines 179-185
Link Here
|
179 |
void UDPNameserver::send(DNSPacket *p) |
179 |
void UDPNameserver::send(DNSPacket *p) |
180 |
{ |
180 |
{ |
181 |
const string& buffer=p->getString(); |
181 |
const string& buffer=p->getString(); |
182 |
DLOG(L<<Logger::Notice<<"Sending a packet to "<< p->remote.toString() <<" ("<< buffer.length()<<" octets)"<<endl); |
182 |
DLOG(L<<Logger::Notice<<"Sending a packet to "<< p->d_remote.toString() <<" ("<< buffer.length()<<" octets)"<<endl); |
183 |
if(buffer.length() > p->getMaxReplyLen()) { |
183 |
if(buffer.length() > p->getMaxReplyLen()) { |
184 |
cerr<<"Weird, trying to send a message that needs truncation, "<< buffer.length()<<" > "<<p->getMaxReplyLen()<<endl; |
184 |
cerr<<"Weird, trying to send a message that needs truncation, "<< buffer.length()<<" > "<<p->getMaxReplyLen()<<endl; |
185 |
} |
185 |
} |