On Wed, May 27, 2020 at 10:51:20PM +0200, Stefano Brivio wrote: > As reported by both Pablo and Phil, trying to add an anonymous set > containing a concatenated range would fail: > > # nft add rule x y ip saddr . tcp dport { 192.168.2.1 . 20-30 } accept > BUG: invalid range expression type concat > nft: expression.c:1160: range_expr_value_low: Assertion `0' failed. > Aborted > > # nft add rule t c ip daddr . tcp dport '{ 10.0.0.0/8 . 10-23, 192.168.1.1-192.168.3.8 . 80-443 } accept' > BUG: invalid range expression type concat > nft: expression.c:1296: range_expr_value_low: Assertion `0' failed. > > Patch 1/2 fixes this, and 2/2 enables a test for it in inet/sets.t. Series applied, thanks Stefano.