summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libct_proto_icmp.c3
-rw-r--r--extensions/libct_proto_sctp.c3
-rw-r--r--extensions/libct_proto_tcp.c6
-rw-r--r--extensions/libct_proto_udp.c3
4 files changed, 10 insertions, 5 deletions
diff --git a/extensions/libct_proto_icmp.c b/extensions/libct_proto_icmp.c
index e0de27e..817fc77 100644
--- a/extensions/libct_proto_icmp.c
+++ b/extensions/libct_proto_icmp.c
@@ -111,7 +111,8 @@ static struct ctproto_handler icmp = {
.print_proto = print_proto,
.final_check = final_check,
.help = help,
- .opts = opts
+ .opts = opts,
+ .version = LIBCT_VERSION,
};
void __attribute__ ((constructor)) init(void);
diff --git a/extensions/libct_proto_sctp.c b/extensions/libct_proto_sctp.c
index 4dbdf27..9afb661 100644
--- a/extensions/libct_proto_sctp.c
+++ b/extensions/libct_proto_sctp.c
@@ -176,7 +176,8 @@ static struct ctproto_handler sctp = {
.print_protoinfo = print_protoinfo,
.final_check = final_check,
.help = help,
- .opts = opts
+ .opts = opts,
+ .version = LIBCT_VERSION,
};
void __attribute__ ((constructor)) init(void);
diff --git a/extensions/libct_proto_tcp.c b/extensions/libct_proto_tcp.c
index 323e4ec..4f3094f 100644
--- a/extensions/libct_proto_tcp.c
+++ b/extensions/libct_proto_tcp.c
@@ -13,9 +13,10 @@
#include <string.h>
#include <netinet/in.h> /* For htons */
#include <linux/netfilter/nfnetlink_conntrack.h>
-#include "libct_proto.h"
#include <libnfnetlink_conntrack/libnfnetlink_conntrack.h>
+#include "libct_proto.h"
+
static struct option opts[] = {
{"orig-port-src", 1, 0, '1'},
{"orig-port-dst", 1, 0, '2'},
@@ -197,7 +198,8 @@ static struct ctproto_handler tcp = {
.print_protoinfo = print_protoinfo,
.final_check = final_check,
.help = help,
- .opts = opts
+ .opts = opts,
+ .version = LIBCT_VERSION,
};
void __attribute__ ((constructor)) init(void);
diff --git a/extensions/libct_proto_udp.c b/extensions/libct_proto_udp.c
index 8a9f0cf..ecde5f2 100644
--- a/extensions/libct_proto_udp.c
+++ b/extensions/libct_proto_udp.c
@@ -149,7 +149,8 @@ static struct ctproto_handler udp = {
.print_proto = print_proto,
.final_check = final_check,
.help = help,
- .opts = opts
+ .opts = opts,
+ .version = LIBCT_VERSION,
};
void __attribute__ ((constructor)) init(void);