diff options
Diffstat (limited to 'net-dns/pdns-recursor/files')
-rw-r--r-- | net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch | 13 |
1 files changed, 0 insertions, 13 deletions
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 deleted file mode 100644 index 594fc8eca609..000000000000 --- a/net-dns/pdns-recursor/files/pdns-recursor-4.6.1-parseACL.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git i/pdns_recursor.cc w/pdns_recursor.cc -index 1700a9fde..ed09f2680 100644 ---- i/pdns_recursor.cc -+++ w/pdns_recursor.cc -@@ -4844,7 +4844,7 @@ void parseACLs() - - auto allowFrom = parseACL("allow-from-file", "allow-from"); - -- if(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; |