]> granicus.if.org Git - pdns/commitdiff
make pdnssec rectify-zone honour --verbose
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 1 Mar 2012 13:23:12 +0000 (13:23 +0000)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 1 Mar 2012 13:23:12 +0000 (13:23 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2443 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/pdnssec.cc

index d64216e81fa7e949b9fea7b647998779cce2758f..8162a515307f3d2129cb0e1b0fd27e5171fb6e93 100644 (file)
@@ -144,7 +144,8 @@ void rectifyZone(DNSSECKeeper& dk, const std::string& zone)
     else {
       if(!narrow) {
         hashed=toLower(toBase32Hex(hashQNameWithSalt(ns3pr.d_iterations, ns3pr.d_salt, qname)));
-        cerr<<"'"<<qname<<"' -> '"<< hashed <<"'"<<endl;
+        if(g_verbose)
+          cerr<<"'"<<qname<<"' -> '"<< hashed <<"'"<<endl;
       }
       sd.db->updateDNSSECOrderAndAuthAbsolute(sd.domain_id, qname, hashed, auth);
     }