summaryrefslogtreecommitdiffstats
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-08-08 11:38:55 +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-08-08 11:38:55 +0000
commit7a60a4748220105e592c583ef0860d51e540a2c6 (patch)
treef2075c8dfed3d71c6a10275706612d57c98ec065 /src/conntrack.c
parent3d4031de7d4e394afefe50819357d007c74ae39c (diff)
Resync to current libnfnetlink_conntrack and 2.6.14 tree
Diffstat (limited to 'src/conntrack.c')
-rw-r--r--src/conntrack.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index ccfb71a..22c6115 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -880,13 +880,11 @@ int main(int argc, char *argv[])
case EXP_CREATE:
if (options & CT_OPT_ORIG)
res = create_expectation(&orig,
- CTA_TUPLE_ORIG,
&exptuple,
&mask,
timeout);
else if (options & CT_OPT_REPL)
res = create_expectation(&reply,
- CTA_TUPLE_REPLY,
&exptuple,
&mask,
timeout);
@@ -917,16 +915,16 @@ int main(int argc, char *argv[])
case EXP_DELETE:
if (options & CT_OPT_ORIG)
- res = delete_expectation(&orig, CTA_TUPLE_ORIG);
+ res = delete_expectation(&orig);
else if (options & CT_OPT_REPL)
- res = delete_expectation(&reply, CTA_TUPLE_REPLY);
+ res = delete_expectation(&reply);
break;
case CT_GET:
if (options & CT_OPT_ORIG)
- res = get_conntrack(&orig, CTA_TUPLE_ORIG, id);
+ res = get_conntrack(&orig, id);
else if (options & CT_OPT_REPL)
- res = get_conntrack(&reply, CTA_TUPLE_REPLY, id);
+ res = get_conntrack(&reply, id);
break;
case EXP_GET: