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_udp.c | |
parent | 74fa2604aded64cd87c59b9bf787fa4ebdc179d2 (diff) | |
download | conntrack-tools-cf96e5c1a423cce66d21cbf43e6a1f5e496bab30.tar.gz conntrack-tools-cf96e5c1a423cce66d21cbf43e6a1f5e496bab30.zip |
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_udp.c')
-rw-r--r-- | extensions/libct_proto_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libct_proto_udp.c b/extensions/libct_proto_udp.c index 7821d5b..706f113 100644 --- a/extensions/libct_proto_udp.c +++ b/extensions/libct_proto_udp.c @@ -11,7 +11,7 @@ #include <getopt.h> #include <stdlib.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" @@ -95,7 +95,7 @@ int parse_options(char c, char *argv[], break; case '6': if (optarg) { - mask->l4src.udp.port = htons(atoi(optarg)); + mask->l4dst.udp.port = htons(atoi(optarg)); *flags |= MASK_DPORT; } break; |