{"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()) {