* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. bc12c6119d3ef4050b2efc66f49cdcaec052079f
@ 2026-06-02 14:07 Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2026-06-02 14:07 UTC (permalink / raw)
To: ipfire-scm
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-02 14:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-02 14:07 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. bc12c6119d3ef4050b2efc66f49cdcaec052079f Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox