From: Remi Gacogne Date: Tue, 27 Mar 2018 09:59:10 +0000 (+0200) Subject: dnsdist: Allow ::1/128 to access the console by default too X-Git-Tag: dnsdist-1.3.0~8^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ceea33efe92d6f22465a7337c9ef72c5f7b71aa;p=thirdparty%2Fpdns.git dnsdist: Allow ::1/128 to access the console by default too --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 8c62d962bc..787e6ee4d6 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -2194,7 +2194,9 @@ try } auto consoleACL = g_consoleACL.getCopy(); - consoleACL.addMask("127.0.0.1/8"); + for (const auto& mask : { "127.0.0.1/8", "::1/128" }) { + consoleACL.addMask(mask); + } g_consoleACL.setState(consoleACL); if (g_cmdLine.checkConfig) {