public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. bc12c6119d3ef4050b2efc66f49cdcaec052079f
Date: Tue, 02 Jun 2026 14:07:05 +0000 (UTC)	[thread overview]
Message-ID: <4gVCLx2kDTz2xHq@people01.haj.ipfire.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  bc12c6119d3ef4050b2efc66f49cdcaec052079f (commit)
      from  6df18afecf9751c5ac731aec01d5dec93b02546b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bc12c6119d3ef4050b2efc66f49cdcaec052079f
Author: Daniel Weismüller <daniel.weismueller@ipfire.org>
Date:   Tue Jun 2 16:06:37 2026 +0200

    knot resolver: Fix Lua check for empty string
    
    Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/knot-resolver/config.lua | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/config/knot-resolver/config.lua b/config/knot-resolver/config.lua
index 46cfac5e9..c382434c2 100644
--- a/config/knot-resolver/config.lua
+++ b/config/knot-resolver/config.lua
@@ -484,6 +484,15 @@ function config.load_rpzs()
 		if status == "on" then
 			local path = string.format("/var/lib/knot-resolver/zones/%s.zone", name)
 
+			-- Fix buggy Perl CSV generator
+			if not enabled_zones then
+				enabled_zones = ""
+			end
+
+			if not custom_acl then
+				custom_acl = ""
+			end
+
 			-- Ensure the zone exists
 			if io.open(path) then
 				-- Make the tag
@@ -534,7 +543,7 @@ function config.load_rpzs()
 				end
 
 				-- Load it globally if no ACLs have been defined
-				if not enabled_zones and not custom_acl then
+				if enabled_zones == "" and custom_acl == "" then
 					add_tag(views, "0.0.0.0/0", tag)
 				end
 			end


hooks/post-receive
--
IPFire 2.x development tree


                 reply	other threads:[~2026-06-02 14:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4gVCLx2kDTz2xHq@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.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