summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases')
-rwxr-xr-xtests/shell/testcases/sets/0022type_selective_flush_02
-rw-r--r--tests/shell/testcases/sets/dumps/0022type_selective_flush_0.nft2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/shell/testcases/sets/0022type_selective_flush_0 b/tests/shell/testcases/sets/0022type_selective_flush_0
index 0c39cbad..a20a863a 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 3dd97602..58c213ff 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}
}
}