]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix a DNSSEC trace log message 4629/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 25 Oct 2016 15:26:32 +0000 (17:26 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 25 Oct 2016 18:47:16 +0000 (20:47 +0200)
pdns/validate.cc

index d27544dfd272853c8cbd262a0281e4cb57277504..4574542f8d516cd221e71c5c4ab89d9ea84be7fc 100644 (file)
@@ -349,7 +349,7 @@ vState getKeysFor(DNSRecordOracle& dro, const DNSName& zone, keyset_t &keyset)
           dotNode("DS", *zoneCutIter, "" /*std::to_string(dsrc.d_tag)*/, (boost::format("tag=%d, digest algo=%d, algo=%d") % dsrc.d_tag % static_cast<int>(dsrc.d_digesttype) % static_cast<int>(dsrc.d_algorithm)).str());
         }
         else {
-          LOG("DNSKEY did not match the DS, parent DS: "<<drc.getZoneRepresentation() << " ! = "<<dsrc2.getZoneRepresentation()<<endl);
+          LOG("DNSKEY did not match the DS, parent DS: "<<dsrc.getZoneRepresentation() << " ! = "<<dsrc2.getZoneRepresentation()<<endl);
         }
         // cout<<"    subgraph "<<dotEscape("cluster "+*zoneCutIter)<<" { "<<dotEscape("DS "+*zoneCutIter)<<" -> "<<dotEscape("DNSKEY "+*zoneCutIter)<<" [ label = \""<<dsrc.d_tag<<"/"<<static_cast<int>(dsrc.d_digesttype)<<"\" ]; label = \"zone: "<<*zoneCutIter<<"\"; }"<<endl;
         dotEdge(g_rootdnsname, "DS", *zoneCutIter, "" /*std::to_string(dsrc.d_tag)*/, "DNSKEY", *zoneCutIter, std::to_string(drc.getTag()), isValid ? "green" : "red");