]> 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>
Tue, 15 Oct 2024 12:35:12 +0000 (14:35 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit 565587b70215b7968c9fa711d0bc1b85938f79ed)

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 822c0730d4ffc09f3c56409a1d42b939bc0e1680..bebb09a2eaf3f41f484d15ccd101378d8bcc6202 100644 (file)
@@ -2375,7 +2375,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',