]> granicus.if.org Git - pdns/commitdiff
saxfr: fix unhash
authorKees Monshouwer <mind04@monshouwer.org>
Sun, 7 Jun 2015 22:50:59 +0000 (00:50 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 30 Jun 2015 06:12:47 +0000 (08:12 +0200)
pdns/saxfr.cc

index f21801ef1e2341cede36e7d84319eab90b4a7f96..ff05a0141c4f2713e7b3bbfa9dbc857e096ce6f3 100644 (file)
@@ -317,7 +317,7 @@ try
     DNSName label /* FIXME rename */=record.first;
     if (isNSEC3 && unhash)
     {
-      auto i = hashes.find(makeRelative(label.toString(), argv[3]));
+      auto i = hashes.find(label.makeRelative(argv[3]).toStringNoDot());
       if (i != hashes.end())
         label=i->second;
     }