]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Oct 2024 10:00:59 +0000 (12:00 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Oct 2024 10:09:49 +0000 (12:09 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/recursordist/reczones.cc
pdns/recursordist/settings/table.py

index 231a1d476e15f184f3ba842088e13a54757fcc13..c54f537ad371880707247fedde044a37690a9782 100644 (file)
@@ -200,7 +200,7 @@ string reloadZoneConfiguration(bool yaml)
         ::arg().preParseFile(filename, "allow-notify-for-file", ::arg()["allow-notify-for-file"]);
         ::arg().preParseFile(filename, "export-etc-hosts", ::arg()["export-etc-hosts"]);
         ::arg().preParseFile(filename, "serve-rfc1918", ::arg()["serve-rfc1918"]);
-        ::arg().preParseFile(filename, "serve-rfc1918", ::arg()["serve-rfc6303"]);
+        ::arg().preParseFile(filename, "serve-rfc6303", ::arg()["serve-rfc6303"]);
       }
     }
     // Process command line args potentially overriding what we read from config files
index 17b3539af370a5837b6088a6131662b469e250ec..ecb240391563584758386103c63bdbfafa3b455c 100644 (file)
@@ -2395,7 +2395,7 @@ Individual parts of these zones can still be loaded or forwarded.
 This makes the server authoritatively aware of the zones in RFC 6303 not covered by RFC 1918.
 Individual parts of these zones can still be loaded or forwarded.
 ''',
-        'versionadded': ['5.1.x', '5.2.0'],
+        'versionadded': ['5.1.3', '5.2.0'],
     },
     {
         'name' : 'serve_stale_extensions',