]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/rules kr_view_insert_action(): fix subnet truncation
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 12 Jul 2023 14:24:44 +0000 (16:24 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 12 Jul 2023 14:24:44 +0000 (16:24 +0200)
commite07c13f60a1a9f89c485f0f7d200aed287e38133
treec5e76718e6cc23ea22ae0f6e8b1478d55280effa
parent0059a9deef2d0d77e9b105538130c6ed902ee7e6
lib/rules kr_view_insert_action(): fix subnet truncation

The rule DB keys were truncated by one byte.
Unfortunately that often kept them behaving OK so it went unnoticed;
but in particular any /0 views got ignored as a result.
lib/rules/api.c