diff options
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-02 13:21:25 +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-02 13:21:25 +0000 |
commit | cf96e5c1a423cce66d21cbf43e6a1f5e496bab30 (patch) | |
tree | 27aaa1de635bd423a251eebe84c1ab2440778347 /extensions/libct_proto_tcp.c | |
parent | 74fa2604aded64cd87c59b9bf787fa4ebdc179d2 (diff) |
More re-sync to work fine with current ip_conntrack_netlink implementation
available in Harald's 2.6.14 tree.
Diffstat (limited to 'extensions/libct_proto_tcp.c')
-rw-r--r-- | extensions/libct_proto_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libct_proto_tcp.c b/extensions/libct_proto_tcp.c index 973c5ab..65f0fb6 100644 --- a/extensions/libct_proto_tcp.c +++ b/extensions/libct_proto_tcp.c @@ -12,7 +12,7 @@ #include <stdlib.h> #include <string.h> #include <netinet/in.h> /* For htons */ -#include <linux/netfilter_ipv4/ip_conntrack_netlink.h> +#include <linux/netfilter/nfnetlink_conntrack.h> #include "libct_proto.h" #include "libctnetlink.h" @@ -114,7 +114,7 @@ int parse_options(char c, char *argv[], break; case '6': if (optarg) { - mask->l4src.tcp.port = htons(atoi(optarg)); + mask->l4dst.tcp.port = htons(atoi(optarg)); *flags |= MASK_DPORT; } break; |