From 1dd1619360260f122e3fd53351885b5f39feddd5 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Fri, 22 Dec 2023 11:59:11 +0100 Subject: [PATCH] Fix formatting in ws-auth.cc --- pdns/ws-auth.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pdns/ws-auth.cc b/pdns/ws-auth.cc index 58f1472b70..ebe117f5bb 100644 --- a/pdns/ws-auth.cc +++ b/pdns/ws-auth.cc @@ -960,7 +960,8 @@ static bool isValidMetadataKind(const string& kind, bool readonly) "SLAVE-RENOTIFY", "SOA-EDIT", "TSIG-ALLOW-AXFR", - "TSIG-ALLOW-DNSUPDATE"}; + "TSIG-ALLOW-DNSUPDATE", + }; // the following options do not allow modifications via API static vector protectedOptions{ @@ -970,7 +971,8 @@ static bool isValidMetadataKind(const string& kind, bool readonly) "NSEC3PARAM", "PRESIGNED", "LUA-AXFR-SCRIPT", - "TSIG-ALLOW-AXFR"}; + "TSIG-ALLOW-AXFR", + }; if (kind.find("X-") == 0) { return true; -- 2.47.2