commit: 9e700900862901ad291b1bb7af8ad09ff07f1ed2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Sat Apr 2 15:43:45 2022 +0000 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> CommitDate: Sat Apr 2 15:49:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e700900
net-dns/pdns-recursor: Update patch for warning message Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch b/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch index 0d29a24f160f..594fc8eca609 100644 --- a/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch +++ b/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch @@ -7,7 +7,7 @@ index 1700a9fde..ed09f2680 100644 auto allowFrom = parseACL("allow-from-file", "allow-from"); - if(allowFrom->size() == 0) { -+ if(allowFrom != nullptr && allowFrom->size() == 0) { ++ if(allowFrom == nullptr || allowFrom->size() == 0) { if(::arg()["local-address"]!="127.0.0.1" && ::arg().asNum("local-port")==53) g_log<<Logger::Warning<<"WARNING: Allowing queries from all IP addresses - this can be a security risk!"<<endl; allowFrom = nullptr;