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 Date: Tue Jun 2 16:06:37 2026 +0200 knot resolver: Fix Lua check for empty string Signed-off-by: Daniel Weismüller ----------------------------------------------------------------------- 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