summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conntrack.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index 1527c50..28328d7 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -644,6 +644,14 @@ int main(int argc, char *argv[])
memset(&exptuple, 0, sizeof(struct nfct_tuple));
memset(&range, 0, sizeof(struct nfct_nat));
+ /*
+ * FIXME: only IPv4 support available at the moment
+ */
+ orig.l3protonum = AF_INET;
+ reply.l3protonum = AF_INET;
+ mask.l3protonum = AF_INET;
+ exptuple.l3protonum = AF_INET;
+
while ((c = getopt_long(argc, argv,
"L::I::U::D::G::E::F::hVs:d:r:q:p:t:u:e:a:z[:]:{:}:m:i::",
opts, NULL)) != -1) {