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-08-08 11:40:51 +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:40:51 +0000
commit8354fefa19bdaadb19a8fd0a818a7097e24bceaf (patch)
treeb3b28ec2a9872bcd1035fb5ecab889d051bd9e7f /src/conntrack.c
parent7a60a4748220105e592c583ef0860d51e540a2c6 (diff)
downloadconntrack-tools-8354fefa19bdaadb19a8fd0a818a7097e24bceaf.tar.gz
conntrack-tools-8354fefa19bdaadb19a8fd0a818a7097e24bceaf.zip
Resync to 2.6.14 and libnfnetlink_conntrack
Diffstat (limited to 'src/conntrack.c')
-rw-r--r--src/conntrack.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/conntrack.c b/src/conntrack.c
index 22c6115..ccfb71a 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -880,11 +880,13 @@ 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);
@@ -915,16 +917,16 @@ int main(int argc, char *argv[])
case EXP_DELETE:
if (options & CT_OPT_ORIG)
- res = delete_expectation(&orig);
+ res = delete_expectation(&orig, CTA_TUPLE_ORIG);
else if (options & CT_OPT_REPL)
- res = delete_expectation(&reply);
+ res = delete_expectation(&reply, CTA_TUPLE_REPLY);
break;
case CT_GET:
if (options & CT_OPT_ORIG)
- res = get_conntrack(&orig, id);
+ res = get_conntrack(&orig, CTA_TUPLE_ORIG, id);
else if (options & CT_OPT_REPL)
- res = get_conntrack(&reply, id);
+ res = get_conntrack(&reply, CTA_TUPLE_REPLY, id);
break;
case EXP_GET: