Re: [PATCH iptables] extensions: libip6t_SNAT/DNAT: add square bracket in xlat output when port is specified

2016-09-05 Thread Pablo Neira Ayuso
On Fri, Sep 02, 2016 at 08:47:05PM +0800, Liping Zhang wrote: > From: Liping Zhang > > It is better to add square brackets to ip6 address in nft translation > output when the port is specified. This is keep consistent with the > nft syntax. > > Before this patch: >

[PATCH iptables] extensions: libip6t_SNAT/DNAT: add square bracket in xlat output when port is specified

2016-09-02 Thread Liping Zhang
From: Liping Zhang It is better to add square brackets to ip6 address in nft translation output when the port is specified. This is keep consistent with the nft syntax. Before this patch: # ip6tables-translate -t nat -A OUTPUT -p tcp -j DNAT --to-destination \