]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting 11547/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 15 Apr 2022 12:21:57 +0000 (14:21 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 15 Apr 2022 12:21:57 +0000 (14:21 +0200)
pdns/dnsdist-lua.cc

index 706572e4b0e92977824af13341467ffb8fcb6a2e..c8b2bc1be727f2f2d34e1c642a363a861c995ad8 100644 (file)
@@ -2544,7 +2544,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck)
     }
   });
 
-  luaCtx.registerFunction<std::string (std::shared_ptr<DOHFrontend>::*)()const>("getAddressAndPort", [](const std::shared_ptr<DOHFrontend>& frontend) {
+  luaCtx.registerFunction<std::string (std::shared_ptr<DOHFrontend>::*)() const>("getAddressAndPort", [](const std::shared_ptr<DOHFrontend>& frontend) {
     if (frontend == nullptr) {
       return std::string();
     }
@@ -2709,7 +2709,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck)
     }
   });
 
-  luaCtx.registerFunction<std::string (std::shared_ptr<TLSFrontend>::*)()const>("getAddressAndPort", [](const std::shared_ptr<TLSFrontend>& frontend) {
+  luaCtx.registerFunction<std::string (std::shared_ptr<TLSFrontend>::*)() const>("getAddressAndPort", [](const std::shared_ptr<TLSFrontend>& frontend) {
     if (frontend == nullptr) {
       return std::string();
     }