From 36b32ec825e14c79e5a99d279f432089e9c4b47d Mon Sep 17 00:00:00 2001 From: bert hubert Date: Mon, 14 Dec 2015 20:34:42 +0100 Subject: [PATCH] remove .. in pdnsutil list-zone - thanks Sander Smeenk for noticing --- pdns/pdnsutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<