This field needs to be set for the new interval overlap detection.

Signed-off-by: Pablo Neira Ayuso <[email protected]>
---
 src/segtree.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/segtree.c b/src/segtree.c
index 668c085..f544704 100644
--- a/src/segtree.c
+++ b/src/segtree.c
@@ -624,6 +624,7 @@ void interval_map_decompose(struct expr *set)
                        prefix_len = expr_value(i)->len - mpz_scan0(range, 0);
                        prefix = prefix_expr_alloc(&low->location, 
expr_value(low),
                                                   prefix_len);
+                       prefix->len = low->len;
                        prefix = set_elem_expr_alloc(&low->location, prefix);
                        if (low->ops->type == EXPR_MAPPING)
                                prefix = mapping_expr_alloc(&low->location, 
prefix,
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to