diff options
author | Patrick McHardy <kaber@trash.net> | 2014-03-06 16:26:09 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-03-07 10:20:14 +0100 |
commit | cbeb5df0a202f07e84db32d4015026b3d3f3c892 (patch) | |
tree | 450bcdc271627d6a7238edc7f5d79cfb41c564e2 /include | |
parent | 7663afee1685272777d74b6c6117b71ae06bec95 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/expression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/expression.h b/include/expression.h index d974131e..edb6dc50 100644 --- a/include/expression.h +++ b/include/expression.h @@ -341,7 +341,7 @@ extern struct expr *concat_expr_alloc(const struct location *loc); extern struct expr *list_expr_alloc(const struct location *loc); extern struct expr *set_expr_alloc(const struct location *loc); -extern void set_to_intervals(struct set *set); +extern int set_to_intervals(struct list_head *msgs, struct set *set); extern struct expr *mapping_expr_alloc(const struct location *loc, struct expr *from, struct expr *to); |