diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-04-18 15:06:09 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-04-25 15:48:23 +0200 |
commit | 4935a0d561b57f46cdd0649b3bb1063f7e897f00 (patch) | |
tree | 2f8b2c2f593d0291fc20a209249ce3ef793be1ba /include | |
parent | 13aa334805c461a57ce70f6bf15ca8b2ea4c8473 (diff) |
segtree: special handling for the first non-matching segment
Add the first non-matching segment if the set is empty or if the set
becomes empty after the element removal.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
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 62a1e517..d44e804a 100644 --- a/include/expression.h +++ b/include/expression.h @@ -365,7 +365,7 @@ extern struct expr *list_expr_alloc(const struct location *loc); extern struct expr *set_expr_alloc(const struct location *loc); extern int set_to_intervals(struct list_head *msgs, struct set *set, - struct expr *init); + struct expr *init, bool add); extern struct expr *mapping_expr_alloc(const struct location *loc, struct expr *from, struct expr *to); |