#!/bin/bash # This tests for a bug where a repeated element is added and the set # elements counter is incorrectly increased. set -e $NFT add table x $NFT add set x s {type ipv4_addr\; size 2\;} $NFT add element x s {1.1.1.1} $NFT add element x s {1.1.1.1} $NFT add element x s {1.1.1.1}