From f5e51ad64d9e5597e8880b652abe261585c2563d Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Wed, 18 May 2016 10:56:19 +0200 Subject: src: add support for IPv6 to struct __nfct_nat The conntrackd daemon lacks support for syncing IPv6 NATed connections. This patch prepares the ground to give support to such operations: * replace uint32_t with union __nfct_address in struct __nfct_nat. * update all users of the former uint32_t to support the new struct A follow-up patch gives support to actually manage the IPv6 NAT. Signed-off-by: Arturo Borrero Gonzalez --- include/internal/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/internal') diff --git a/include/internal/object.h b/include/internal/object.h index ffbcb1f..bb14dc8 100644 --- a/include/internal/object.h +++ b/include/internal/object.h @@ -144,7 +144,7 @@ struct __nfct_counters { }; struct __nfct_nat { - uint32_t min_ip, max_ip; + union __nfct_address min_ip, max_ip; union __nfct_l4_src l4min, l4max; }; -- cgit v1.2.3