aboutgitcodebugslistschat
path: root/test/lib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-05-03 23:55:44 +0200
committerStefano Brivio <sbrivio@redhat.com>2026-05-07 08:06:30 +0200
commit0aeda87ca1855eac36842f602f8276762edffd1f (patch)
treec0296e42ec3fb9e3cd39d4a51e7450947ce32269 /test/lib
parenta458719f01838f0d5867e817d84a497637999ee1 (diff)
downloadpasst-0aeda87ca1855eac36842f602f8276762edffd1f.tar
passt-0aeda87ca1855eac36842f602f8276762edffd1f.tar.gz
passt-0aeda87ca1855eac36842f602f8276762edffd1f.tar.bz2
passt-0aeda87ca1855eac36842f602f8276762edffd1f.tar.lz
passt-0aeda87ca1855eac36842f602f8276762edffd1f.tar.xz
passt-0aeda87ca1855eac36842f602f8276762edffd1f.tar.zst
passt-0aeda87ca1855eac36842f602f8276762edffd1f.zip
conf, fwd: Stricter rule checking in fwd_rule_add()
Although fwd_rule_add() performs some sanity checks on the rule it is given, there are invalid rules we don't check for, assuming that its callers will do that. That won't be enough when we can get rules inserted by a dynamic update client without going through the existing parsing code. So, add stricter checks to fwd_rule_add(), which is now possible thanks to the capabilities bits in the struct fwd_table. Where those duplicate existing checks in the callers, remove the old copies. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions