From: Kees Monshouwer Date: Sun, 7 Jun 2015 22:50:59 +0000 (+0200) Subject: saxfr: fix unhash X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~58^2~21^2~5^2~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a39326220e26a948783095b5d3ada4c2ab44c2d5;p=pdns saxfr: fix unhash --- 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; }