]> granicus.if.org Git - pdns/commitdiff
dnsbulktest compiles
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 24 Jun 2015 13:36:28 +0000 (15:36 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 30 Jun 2015 06:12:51 +0000 (08:12 +0200)
.travis.yml
pdns/dnsbulktest.cc

index 4fb8612565520525ac05b4d0504107a2be69eac1..6c44ab221b460966a4b7dcc69229148c8c7bf437 100644 (file)
@@ -103,6 +103,7 @@ script:
  - test -f modules/remotebackend/test-suite.log && cat modules/remotebackend/test-suite.log || true
 # - make -k -C pdns $(grep '(EXEEXT):' pdns/Makefile | cut -f1 -d\$ | grep -E -v 'dnsdist|calidns')
  - cd pdns
+ - make -k -j 4 dnsbulktest
  - make -k -j 4 pdns_recursor
  - rm -f pdns_recursor
  - cd ..
index 1f09d1b88bf9d1b072bd878a9267280b421a1d51..8cb18b471281f57e8c4af8c9623d9ced20d8762d 100644 (file)
@@ -121,7 +121,7 @@ struct SendReceive
       
       MOADNSParser mdp(string(buf, len));
       if(!g_quiet) {
-        cout<<"Reply to question for qname='"<<mdp.d_qname<<"', qtype="<<DNSRecordContent::NumberToType(mdp.d_qtype)<<endl;
+        cout<<"Reply to question for qname='"<<mdp.d_qname.toString()<<"', qtype="<<DNSRecordContent::NumberToType(mdp.d_qtype)<<endl;
         cout<<"Rcode: "<<mdp.d_header.rcode<<", RD: "<<mdp.d_header.rd<<", QR: "<<mdp.d_header.qr;
         cout<<", TC: "<<mdp.d_header.tc<<", AA: "<<mdp.d_header.aa<<", opcode: "<<mdp.d_header.opcode<<endl;
       }
@@ -134,7 +134,7 @@ struct SendReceive
         }
         if(!g_quiet)
         {
-          cout<<i->first.d_place-1<<"\t"<<i->first.d_label<<"\tIN\t"<<DNSRecordContent::NumberToType(i->first.d_type);
+          cout<<i->first.d_place-1<<"\t"<<i->first.d_label.toString()<<"\tIN\t"<<DNSRecordContent::NumberToType(i->first.d_type);
           cout<<"\t"<<i->first.d_ttl<<"\t"<< i->first.d_content->getZoneRepresentation()<<"\n";
         }
       }