diff mbox

[conntrack-tools] include/network.h: fix erroneus comment in NTA_(S|D)NAT_IPV6

Message ID 146494412135.11445.11203183861526839776.stgit@nfdev2.cica.es
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Arturo Borrero June 3, 2016, 8:55 a.m. UTC
We don't use 'struct nfct_attr_grp_ipv6', actually 'uint32_t * 4'.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 include/network.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso June 6, 2016, 11:24 a.m. UTC | #1
On Fri, Jun 03, 2016 at 10:55:21AM +0200, Arturo Borrero Gonzalez wrote:
> We don't use 'struct nfct_attr_grp_ipv6', actually 'uint32_t * 4'.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/network.h b/include/network.h
index ab04591..ec9fadf 100644
--- a/include/network.h
+++ b/include/network.h
@@ -229,8 +229,8 @@  enum nta_attr {
 	NTA_TCP_WSCALE_REPL,	/* uint8_t */
 	NTA_HELPER_NAME,	/* string (variable length) */
 	NTA_LABELS,		/* array of uint32_t (variable length) */
-	NTA_SNAT_IPV6,		/* struct nfct_attr_grp_ipv6 */
-	NTA_DNAT_IPV6,		/* struct nfct_attr_grp_ipv6 */
+	NTA_SNAT_IPV6,		/* uint32_t * 4 */
+	NTA_DNAT_IPV6,		/* uint32_t * 4 */
 	NTA_MAX
 };