summaryrefslogtreecommitdiff
path: root/extensions/libct_proto_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libct_proto_udp.c')
-rw-r--r--extensions/libct_proto_udp.c4
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;