summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-09-24 18:42:39 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-09-24 18:42:39 +0000
commit41796b0c80876094f3db8af0efae16d162788793 (patch)
tree98ec560f862640331328caa0cf2b3d7f9031ef72 /extensions
parent53aff5a51af588ed1bdd94c9915fc610487c26c0 (diff)
downloadconntrack-tools-41796b0c80876094f3db8af0efae16d162788793.tar.gz
conntrack-tools-41796b0c80876094f3db8af0efae16d162788793.zip
major update (See ChangeLog)
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);