]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix formatting in ws-auth.cc 13663/head
authorFred Morcos <fred.morcos@open-xchange.com>
Fri, 22 Dec 2023 10:59:11 +0000 (11:59 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Fri, 22 Dec 2023 10:59:32 +0000 (11:59 +0100)
pdns/ws-auth.cc

index 58f1472b70c4254e5352fb7750c971c6ec4b2225..ebe117f5bb8caf9ac2e19bcf293ffe3456be29f4 100644 (file)
@@ -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<string> 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;