From a39326220e26a948783095b5d3ada4c2ab44c2d5 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Mon, 8 Jun 2015 00:50:59 +0200 Subject: [PATCH] saxfr: fix unhash --- pdns/saxfr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/saxfr.cc b/pdns/saxfr.cc index f21801ef1..ff05a0141 100644 --- a/pdns/saxfr.cc +++ b/pdns/saxfr.cc @@ -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; } -- 2.40.0