Message ID | 20180508115237.27129-2-pablo@netfilter.org |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [1/2,nft] tests: shell: delete chain and rule with jump to chain in same transaction | expand |
diff --git a/tests/shell/testcases/sets/0022type_selective_flush_0 b/tests/shell/testcases/sets/0022type_selective_flush_0 index 0c39cbad9352..a20a863a6966 100755 --- a/tests/shell/testcases/sets/0022type_selective_flush_0 +++ b/tests/shell/testcases/sets/0022type_selective_flush_0 @@ -8,7 +8,7 @@ add table t add chain t c add set t s {type ipv4_addr;} add map t m {type ipv4_addr : inet_service;} -add rule t c tcp dport 80 meter f {ip saddr limit rate 10/second} +add rule t c tcp dport 80 meter f size 1024 {ip saddr limit rate 10/second} " $NFT -f - <<< $RULESET diff --git a/tests/shell/testcases/sets/dumps/0022type_selective_flush_0.nft b/tests/shell/testcases/sets/dumps/0022type_selective_flush_0.nft index 3dd97602268c..58c213ffd582 100644 --- a/tests/shell/testcases/sets/dumps/0022type_selective_flush_0.nft +++ b/tests/shell/testcases/sets/dumps/0022type_selective_flush_0.nft @@ -8,6 +8,6 @@ table ip t { } chain c { - tcp dport http meter f { ip saddr limit rate 10/second} + tcp dport http meter f size 1024 { ip saddr limit rate 10/second} } }
Otherwise, 65535 is used and testsuite reports dump mismatch. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> --- tests/shell/testcases/sets/0022type_selective_flush_0 | 2 +- tests/shell/testcases/sets/dumps/0022type_selective_flush_0.nft | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)