summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/conntrack.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5d9bf4..b6c0c93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-2005-13-03
+2005-12-19
+<pablo@netfilter.org>
+ o We only support ipv4 at the moment: set l3protonum to AF_INET
+
+2005-12-03
<pablo@netfilter.org>
o Add support to filter events. ie: -p tcp --orig-port-dst 80 in
conjuction with -E to get all the requests to HTTP servers
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) {