From: bert hubert Date: Mon, 14 Dec 2015 19:34:42 +0000 (+0100) Subject: remove .. in pdnsutil list-zone - thanks Sander Smeenk for noticing X-Git-Tag: dnsdist-1.0.0-alpha1~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36b32ec825e14c79e5a99d279f432089e9c4b47d;p=pdns remove .. in pdnsutil list-zone - thanks Sander Smeenk for noticing --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 0b80dbe58..ad8a2c55a 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -874,7 +874,7 @@ int listZone(const DNSName &zone) { if ( (rr.qtype.getCode() == QType::NS || rr.qtype.getCode() == QType::SRV || rr.qtype.getCode() == QType::MX || rr.qtype.getCode() == QType::CNAME) && !rr.content.empty() && rr.content[rr.content.size()-1] != '.') rr.content.append(1, '.'); - cout<