]> git.ipfire.org Git - thirdparty/nftables.git/commit
statement: old kernels are allowing burst zero, don't print it
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 30 May 2018 10:40:32 +0000 (12:40 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 30 May 2018 10:41:36 +0000 (12:41 +0200)
commit239a8fbbaa061d55c653922e158d8ba352eaf57f
treee7bf9ddbae11c60c8488213a36b3cc6a9484f354
parent2c4b5ea773c606cd65b928ed151157a403a09d45
statement: old kernels are allowing burst zero, don't print it

Don't print limit burst zero which was the default value in old kernels,
this is not allowed in more recent kernels that now operate like
iptables xt_limit which is what users are expecting.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/statement.c