summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-12-19 17:53:58 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org>2005-12-19 17:53:58 +0000
commited189ea982809166742143653482e29bab065e6e (patch)
tree2e9ca1944d00aab495dbb14c4b953c026bafd39f
parent3b361485bca7bc4eca6ac0d8ec53a2b27b981240 (diff)
downloadconntrack-tools-ed189ea982809166742143653482e29bab065e6e.tar.gz
conntrack-tools-ed189ea982809166742143653482e29bab065e6e.zip
We only support ipv4 at the moment, set l3protonum to AF_INET
-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) {