Otherwise, 65535 is used and testsuite reports dump mismatch.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
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
}
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}
}
}