On Sun, Aug 28, 2016 at 04:50:48PM +0800, Liping Zhang wrote: > From: Liping Zhang <liping.zhang@xxxxxxxxxxxxxx> > > After commit "parser_bison: redirect to :port for consistency with > nat/masq statement" in nftables tree, we should recommend the end > user to use the new syntax. > > Before this patch: > # iptables-translate -t nat -A PREROUTING -p tcp -j REDIRECT --to-ports 1 > nft add rule ip nat PREROUTING ip protocol tcp counter redirect to 1 > > Apply this patch: > # iptables-translate -t nat -A PREROUTING -p tcp -j REDIRECT --to-ports 1 > nft add rule ip nat PREROUTING ip protocol tcp counter redirect to :1 Also applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html