]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
improve query-local-address6 deprecation notice
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 20 Oct 2020 12:10:33 +0000 (14:10 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 20 Oct 2020 12:10:33 +0000 (14:10 +0200)
pdns/common_startup.cc

index 05b0cca5716b54b764c48faabeeeb6187ecb43fc..13548c893e111bc3c5a9875d9fc2d644c6d35d82 100644 (file)
@@ -635,7 +635,7 @@ void mainthread()
 
   pdns::parseQueryLocalAddress(::arg()["query-local-address"]);
   if (!::arg()["query-local-address6"].empty()) {
-    g_log<<Logger::Warning<<"query-local-address6 is deprecated and will be removed in a future version. Please use query-local-address for IPv6 addresses as well"<<endl;
+    g_log<<Logger::Error<<"NOTE: query-local-address6 is deprecated and will be removed in a future version. Please use query-local-address for IPv6 addresses as well"<<endl;
     pdns::parseQueryLocalAddress(::arg()["query-local-address6"]);
   }