Permalink
Browse files

Use qcode name instead of number

  • Loading branch information...
1 parent ccbd1d5 commit fab3ed3453e15ae88e29a0e4071b214eb19caad9 @cmouse cmouse committed Dec 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/pdns_recursor.cc
@@ -502,7 +502,7 @@ void startDoResolve(void *p)
try {
loginfo=" (while setting loginfo)";
- loginfo=" ("+dc->d_mdp.d_qname+"/"+lexical_cast<string>(dc->d_mdp.d_qtype)+" from "+(dc->d_remote.toString())+")";
+ loginfo=" ("+dc->d_mdp.d_qname+"/"+DNSRecordContent::NumberToType(dc->d_mdp.d_qtype)+" from "+(dc->d_remote.toString())+")";
uint32_t maxanswersize= dc->d_tcp ? 65535 : min((uint16_t) 512, g_udpTruncationThreshold);
EDNSOpts edo;
if(getEDNSOpts(dc->d_mdp, &edo) && !dc->d_tcp) {

0 comments on commit fab3ed3

Please sign in to comment.