From 5cf23dbaef3a62d8ef89cc62f8fc31d06ef6326a Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Wed, 7 Jun 2023 14:08:28 +0200 Subject: [PATCH] auth: ignore readability-function-cognitive-complexity for doAXFR for now --- pdns/tcpreceiver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index b84053ea3f..49a1b66f5d 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -582,7 +582,7 @@ namespace { /** do the actual zone transfer. Return 0 in case of error, 1 in case of success */ -int TCPNameserver::doAXFR(const DNSName &target, std::unique_ptr& q, int outsock) +int TCPNameserver::doAXFR(const DNSName &target, std::unique_ptr& q, int outsock) // NOLINT(readability-function-cognitive-complexity) { string logPrefix="AXFR-out zone '"+target.toLogString()+"', client '"+q->getRemoteString()+"', "; -- 2.47.2