Skip to content
Snippets Groups Projects
Verified Commit ea414ce9 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

modules/renumber: don't accidentally zero-out .state

It was possible for some failures to disappear that way.
parent d28b3d17
Branches
Tags
1 merge request!901policy and daf modules: fix reroute rules
......@@ -15,11 +15,13 @@ Improvements
- lua: remove dependency on lua-socket and lua-sec, used lua-http and cqueues (#512, #521, !894)
- net.listen(): allow binding to non-local address with freebind option (!898)
- cache: pre-allocate the file to avoid SIGBUS later (not macOS; !917, #525)
- lua: be stricter around nonsense returned from modules (!901)
Bugfixes
--------
- correctly use EDNS(0) padding in failed answers (!921)
- policy and daf modules: fix reroute rules (!901)
- renumber module: don't accidentally zero-out request's .state (!901)
Knot Resolver 4.3.0 (2019-12-04)
......
......@@ -82,7 +82,7 @@ local function rule(prefixes)
end
end
-- If not rewritten, chain action
if not changed then return end
if not changed then return state end
-- Replace section if renumbering
local qname = pkt:qname()
local qclass = pkt:qclass()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment