From: Chris Hofstaedtler Date: Mon, 9 Nov 2020 18:24:11 +0000 (+0100) Subject: pdnsutil: show active flag in list-keys X-Git-Tag: dnsdist-1.6.0-alpha0~18^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b33c9a830d13e58842e6faa5e48bfe4ce77b9e7;p=thirdparty%2Fpdns.git pdnsutil: show active flag in list-keys --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 55ae03a17b..3e002afcd3 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -808,8 +808,8 @@ static int deleteZone(const DNSName &zone) { static void listKey(DomainInfo const &di, DNSSECKeeper& dk, bool printHeader = true) { if (printHeader) { - cout<<"Zone Type Size Algorithm ID Location Keytag"<getBits()).length() >= 8) ? 1 : 8 - std::to_string(key.first.getKey()->getBits()).length(); if (key.first.getKey()->getBits() < 1) {