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 20:31:12 +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 20:31:12 +0000
commitddea86cb98ddc40f6dfb0ef7081891ea4f53f0c3 (patch)
tree6d2a3273abdca07f6ac1bbc7e9eb67afb2cffe68
parented189ea982809166742143653482e29bab065e6e (diff)
downloadconntrack-tools-svn_t_conntrack-0.991.tar.gz
conntrack-tools-svn_t_conntrack-0.991.zip
More changes to prepare upcoming ipv4 supportsvn_t_conntrack-0.991
-rw-r--r--ChangeLog1
-rw-r--r--src/conntrack.c10
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b6c0c93..f002815 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2005-12-19
<pablo@netfilter.org>
o We only support ipv4 at the moment: set l3protonum to AF_INET
+ o Minor changes to prepare upcoming ipv6 support
2005-12-03
<pablo@netfilter.org>
diff --git a/src/conntrack.c b/src/conntrack.c
index 28328d7..145ef24 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -849,9 +849,9 @@ int main(int argc, char *argv[])
NULL);
if (options & CT_OPT_ZERO)
- res = nfct_dump_conntrack_table_reset_counters(cth);
+ res = nfct_dump_conntrack_table_reset_counters(cth, AF_INET);
else
- res = nfct_dump_conntrack_table(cth);
+ res = nfct_dump_conntrack_table(cth, AF_INET);
nfct_close(cth);
break;
@@ -867,7 +867,7 @@ int main(int argc, char *argv[])
nfct_register_callback(cth,
nfct_default_expect_display,
NULL);
- res = nfct_dump_expect_list(cth);
+ res = nfct_dump_expect_list(cth, AF_INET);
nfct_close(cth);
break;
@@ -1009,7 +1009,7 @@ int main(int argc, char *argv[])
cth = nfct_open(CONNTRACK, 0);
if (!cth)
exit_error(OTHER_PROBLEM, "Can't open handler");
- res = nfct_flush_conntrack_table(cth);
+ res = nfct_flush_conntrack_table(cth, AF_INET);
nfct_close(cth);
break;
@@ -1017,7 +1017,7 @@ int main(int argc, char *argv[])
cth = nfct_open(EXPECT, 0);
if (!cth)
exit_error(OTHER_PROBLEM, "Can't open handler");
- res = nfct_flush_expectation_table(cth);
+ res = nfct_flush_expectation_table(cth, AF_INET);
nfct_close(cth);
break;