[nft PATCH] Explicitly deny concatenated types in interval sets

2018-06-06 Thread Phil Sutter
Previously, this triggered a program abort: | # nft add table ip t | # nft add set ip t my_set '{ type ipv4_addr . inet_service ; flags interval ; }' | # nft add element ip t my_set '{10.0.0.1 . tcp }' | BUG: invalid range expression type concat | nft: expression.c:1085: range_expr_value_low: Ass

Re: [nft PATCH] Explicitly deny concatenated types in interval sets

2018-06-06 Thread Florian Westphal
Phil Sutter wrote: > Previously, this triggered a program abort: > > | # nft add table ip t > | # nft add set ip t my_set '{ type ipv4_addr . inet_service ; flags interval > ; }' > | # nft add element ip t my_set '{10.0.0.1 . tcp }' > | BUG: invalid range expression type concat > | nft: expressi