public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/
Date: Sat,  2 Apr 2022 15:49:12 +0000 (UTC)	[thread overview]
Message-ID: <1648914549.9e700900862901ad291b1bb7af8ad09ff07f1ed2.swegener@gentoo> (raw)

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;


             reply	other threads:[~2022-04-02 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-02 15:49 Sven Wegener [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-05 21:23 [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/ Sven Wegener
2021-02-17 18:22 Sven Wegener
2017-01-14 19:13 Sven Wegener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1648914549.9e700900862901ad291b1bb7af8ad09ff07f1ed2.swegener@gentoo \
    --to=swegener@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox