]> git.ipfire.org Git - thirdparty/nftables.git/commit
set: abort on interval conflicts
authorPatrick McHardy <kaber@trash.net>
Thu, 6 Mar 2014 15:26:09 +0000 (16:26 +0100)
committerPatrick McHardy <kaber@trash.net>
Fri, 7 Mar 2014 09:20:14 +0000 (10:20 +0100)
commitcbeb5df0a202f07e84db32d4015026b3d3f3c892
tree450bcdc271627d6a7238edc7f5d79cfb41c564e2
parent7663afee1685272777d74b6c6117b71ae06bec95
set: abort on interval conflicts

We currently print a debug message (with debugging) and continue. Output
a proper error message and abort.

While at it, make sure we only report a conflict if there actually is one.
This is not the case similar actions, IOW in case of sets, never, in case
of maps, only if the mapping differs.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/expression.h
src/rule.c
src/segtree.c