From 41796b0c80876094f3db8af0efae16d162788793 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org" Date: Sat, 24 Sep 2005 18:42:39 +0000 Subject: major update (See ChangeLog) --- extensions/libct_proto_icmp.c | 3 ++- extensions/libct_proto_sctp.c | 3 ++- extensions/libct_proto_tcp.c | 6 ++++-- extensions/libct_proto_udp.c | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) (limited to 'extensions') 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 #include /* For htons */ #include -#include "libct_proto.h" #include +#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); -- cgit v1.2.3