path: root/include
diff options
authorArturo Borrero <>2016-05-18 10:56:19 +0200
committerPablo Neira Ayuso <>2016-05-20 11:35:01 +0200
commitf5e51ad64d9e5597e8880b652abe261585c2563d (patch)
treee58eee104ebfa509fbbf8a0aaed636e0bedb3e83 /include
parent3866d4c0fd019770578c6241b59393e1ecb4bc7d (diff)
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 <>
Diffstat (limited to 'include')
1 files changed, 1 insertions, 1 deletions
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;