summaryrefslogtreecommitdiff
path: root/src/conntrack.c
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-10-23 22:15:29 +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-10-23 22:15:29 +0000
commit0985fa365d2ac7aaf96cd4cdfc76e9ddda940886 (patch)
tree41ee2f89df13ca0b6df61955588ec7d357af2152 /src/conntrack.c
parent05c632cf7ff2f7214d51b70e263355de2e9cb5f9 (diff)
downloadconntrack-tools-0985fa365d2ac7aaf96cd4cdfc76e9ddda940886.tar.gz
conntrack-tools-0985fa365d2ac7aaf96cd4cdfc76e9ddda940886.zip
See ChangeLog
Diffstat (limited to 'src/conntrack.c')
-rw-r--r--src/conntrack.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index 6ce945f..c6d90f9 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -911,7 +911,7 @@ int main(int argc, char *argv[])
retry--;
switch(command) {
case CT_LIST:
- cth = nfct_open(CONNTRACK, 0);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
nfct_set_callback(cth, nfct_default_conntrack_display);
@@ -923,7 +923,7 @@ int main(int argc, char *argv[])
nfct_close(cth);
case EXP_LIST:
- cth = nfct_open(EXPECT, 0);
+ cth = nfct_open(EXPECT, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
nfct_set_callback(cth, nfct_default_expect_display);
@@ -954,7 +954,7 @@ int main(int argc, char *argv[])
if (!ct)
exit_error(OTHER_PROBLEM, "Not Enough memory");
- cth = nfct_open(CONNTRACK, 0);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth) {
nfct_conntrack_free(ct);
exit_error(OTHER_PROBLEM, "Not enough memory");
@@ -974,7 +974,7 @@ int main(int argc, char *argv[])
if (!exp)
exit_error(OTHER_PROBLEM, "Not enough memory");
- cth = nfct_open(EXPECT, 0);
+ cth = nfct_open(EXPECT, NFCT_ANY_GROUP);
if (!cth) {
nfct_expect_free(exp);
exit_error(OTHER_PROBLEM, "Not enough memory");
@@ -1000,7 +1000,7 @@ int main(int argc, char *argv[])
if (!ct)
exit_error(OTHER_PROBLEM, "Not enough memory");
- cth = nfct_open(CONNTRACK, 0);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth) {
nfct_conntrack_free(ct);
exit_error(OTHER_PROBLEM, "Not enough memory");
@@ -1011,7 +1011,7 @@ int main(int argc, char *argv[])
break;
case CT_DELETE:
- cth = nfct_open(CONNTRACK, 0);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
if (options & CT_OPT_ORIG)
@@ -1026,7 +1026,7 @@ int main(int argc, char *argv[])
break;
case EXP_DELETE:
- cth = nfct_open(EXPECT, 0);
+ cth = nfct_open(EXPECT, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
if (options & CT_OPT_ORIG)
@@ -1037,7 +1037,7 @@ int main(int argc, char *argv[])
break;
case CT_GET:
- cth = nfct_open(CONNTRACK, 0);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
nfct_set_callback(cth, nfct_default_conntrack_display);
@@ -1051,7 +1051,7 @@ int main(int argc, char *argv[])
break;
case EXP_GET:
- cth = nfct_open(EXPECT, 0);
+ cth = nfct_open(EXPECT, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
nfct_set_callback(cth, nfct_default_expect_display);
@@ -1063,7 +1063,7 @@ int main(int argc, char *argv[])
break;
case CT_FLUSH:
- cth = nfct_open(CONNTRACK, 0);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
res = nfct_flush_conntrack_table(cth);
@@ -1071,7 +1071,7 @@ int main(int argc, char *argv[])
break;
case EXP_FLUSH:
- cth = nfct_open(EXPECT, 0);
+ cth = nfct_open(EXPECT, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM, "Not enough memory");
res = nfct_flush_expectation_table(cth);
@@ -1088,7 +1088,7 @@ int main(int argc, char *argv[])
nfct_set_callback(cth, nfct_default_conntrack_display);
res = nfct_event_conntrack(cth);
} else {
- cth = nfct_open(CONNTRACK, ~0U);
+ cth = nfct_open(CONNTRACK, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM,
"Not enough memory");
@@ -1109,7 +1109,7 @@ int main(int argc, char *argv[])
nfct_set_callback(cth, nfct_default_expect_display);
res = nfct_event_expectation(cth);
} else {
- cth = nfct_open(EXPECT, ~0U);
+ cth = nfct_open(EXPECT, NFCT_ANY_GROUP);
if (!cth)
exit_error(OTHER_PROBLEM,
"Not enough memory");