auto-merge is only available to interval sets with one value only,
untoggle this flag for concatenation with intervals.
Later, this can be hardened to reject it.
Fixes: 30f667920601 ("src: add 'auto-merge' option to sets")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
sizeof(set->desc.field_len));
set->desc.field_count = set->key->field_count;
set->flags |= NFT_SET_CONCAT;
+
+ if (set->automerge)
+ set->automerge = false;
}
if (set_is_anonymous(set->flags) && set->key->etype == EXPR_CONCAT) {