Patch 1/2 fixes the issue reported by PetrB, and patch 2/2 introduces a test case for IPv4 and IPv6 ranges of different lengths in concatenated set elements. Stefano Brivio (2): segtree: Fix range_mask_len() for subnet ranges exceeding unsigned int tests: Introduce 0043_concatenated_ranges_1 for subnets of different sizes src/segtree.c | 4 ++-- .../testcases/sets/0043concatenated_ranges_1 | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100755 tests/shell/testcases/sets/0043concatenated_ranges_1 -- 2.30.2