Re: [PATCH iptables] extensions: libxt_limit: fix a wrong translation to nft rule

2016-05-23 Thread Pablo Neira Ayuso
On Sat, May 21, 2016 at 06:07:16PM +0800, Liping Zhang wrote: > From: Liping Zhang > > The default burst value is 5 in iptables limit extension while it is 0 in > nft limit expression, if the burst value is default, it will not be > displayed when we dump the rules.

[PATCH iptables] extensions: libxt_limit: fix a wrong translation to nft rule

2016-05-21 Thread Liping Zhang
From: Liping Zhang The default burst value is 5 in iptables limit extension while it is 0 in nft limit expression, if the burst value is default, it will not be displayed when we dump the rules. But when we do translation from iptables rules to nft rules, we should