]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #13014 from jsoref/deprecated
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 29 Sep 2023 12:54:45 +0000 (14:54 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 12:54:45 +0000 (14:54 +0200)
Report auth settings deprecated in 4.5

1  2 
pdns/arguments.cc

index 1831d7d07fe1df707c05d07a9b87ec51baf138c5,35c1eb001a7b6be43793147bf844fb28d8ad2c94..3970d8cd51af75a84ea46fe861088d51f0889858
@@@ -359,10 -364,16 +359,17 @@@ static const map<string, string> deprec
    {"snmp-master-socket", "snmp-daemon-socket"},
    {"xpf-allow-from", "Proxy Protocol"},
    {"xpf-rr-code", "Proxy Protocol"},
+   {"allow-unsigned-supermaster", "allow-unsigned-autoprimary"},
+   {"master", "primary"},
+   {"slave-cycle-interval", "xfr-cycle-interval"},
+   {"slave-renotify", "secondary-do-renotify"},
+   {"slave", "secondary"},
+   {"superslave", "autosecondary"},
+   {"domain-metadata-cache-ttl", "zone-metadata-cache-ttl"},
  };
  
 -void ArgvMap::warnIfDeprecated(const string& var)
 +// NOLINTNEXTLINE(readability-convert-member-functions-to-static): accesses d_log (compiled out in auth, hence clang-tidy message)
 +void ArgvMap::warnIfDeprecated(const string& var) const
  {
    const auto msg = deprecateList.find(var);
    if (msg != deprecateList.end()) {