]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Formatting
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 8 Jul 2025 08:56:58 +0000 (10:56 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 9 Jul 2025 09:17:19 +0000 (11:17 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/docs/lua-scripting/functions.rst
pdns/recursordist/protozero-helpers.hh
pdns/recursordist/recursor_cache.cc
pdns/recursordist/test-syncres_cc2.cc

index 895024e91cb8a45c12c1ea993ff74420f1810b07..298b9d09772e24695b133a629cfc68f70b3dce69 100644 (file)
@@ -67,7 +67,7 @@ These are some functions that don't really have a place in one of the other cate
 
 .. function:: getConfigDirAndName() -> str, str
 
-   .. versionadded:: 5.2.4
+   .. versionadded:: 5.2.x
 
    Get the configuration directory and the instance name.
    These two values correspond to the :ref:`setting-yaml-recursor.config_dir` and :ref:`setting-yaml-recursor.config_name` settings.
index e88c888a4c637dabdf15af590520264ebe5c0427..468578b37e66702f006e6a9ad0fe03ab1e56487b 100644 (file)
@@ -96,4 +96,3 @@ void decodeNetmask(protozero::pbf_message<T>& message, Netmask& subnet)
   auto data = message.get_bytes();
   memcpy(&subnet, data.data(), data.size());
 }
-
index 0287b209c8b1325e7907efc53181dea2f3a64eee..fc87608dacfdf6bcb53f5025a11544320054faad 100644 (file)
@@ -997,7 +997,6 @@ enum class PBAuthRecord : protozero::pbf_tag_type
   required_uint32_clen = 7,
 };
 
-
 template <typename T, typename U>
 void MemRecursorCache::getRecordSet(T& message, U recordSet)
 {
index ca28f3d87a455642637249e5021e7bf4c701cfca..8297413b2e6661e9504636d018d1e06022f49d98 100644 (file)
@@ -1433,7 +1433,6 @@ BOOST_AUTO_TEST_CASE(test_ns_speed)
   BOOST_CHECK_EQUAL(nsCounts[ComboAddress("192.0.2.2:53")], 1U);
   BOOST_CHECK_EQUAL(nsCounts[ComboAddress("[2001:DB8::2]:53")], 1U);
 
-
   // read PB representation back and forth, compare using the text dump
   std::string temp1{"/tmp/speedDump1XXXXXX"};
   std::string temp2{"/tmp/speedDump2XXXXXX"};
@@ -1478,7 +1477,6 @@ BOOST_AUTO_TEST_CASE(test_ns_speed)
   BOOST_CHECK(lines1 == lines2);
 }
 
-
 BOOST_AUTO_TEST_CASE(test_flawed_nsset)
 {
   std::unique_ptr<SyncRes> sr;