diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-17 12:36:38 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-18 12:38:38 +0100 |
commit | 285baccfea46aa61e4ed4777da23105ccf19218b (patch) | |
tree | af722b8abe89bfa02e9c7561623183c741ffdb70 /include/parser.h | |
parent | e6d1d0d6119585a5cd63fcc02c0eb98e30b095cb (diff) |
src: disallow burst 0 in ratelimits
The ratelimiter in nftables is similar to the one in iptables, and
iptables disallows a zero burst.
Update the byte rate limiter not to print burst 5 (default value).
Update tests/py payloads to print burst 5 instead of zero when the
burst is unspecified.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/parser.h')
0 files changed, 0 insertions, 0 deletions