summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
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-11-06 03:09:43 +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-11-06 03:09:43 +0000
commit67832c77b05afc8d0f59244854181b13efdbefeb (patch)
treea93ce834f6f7cefba5fb93c144743b3873c49f21 /extensions
parent26caf6b0d84c0709dedb9b05ca4ab91fa3677bb0 (diff)
downloadconntrack-tools-67832c77b05afc8d0f59244854181b13efdbefeb.tar.gz
conntrack-tools-67832c77b05afc8d0f59244854181b13efdbefeb.zip
See ChangeLog
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libct_proto_icmp.c4
-rw-r--r--extensions/libct_proto_sctp.c2
-rw-r--r--extensions/libct_proto_tcp.c2
-rw-r--r--extensions/libct_proto_udp.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/extensions/libct_proto_icmp.c b/extensions/libct_proto_icmp.c
index 6fe1e16..dc7374e 100644
--- a/extensions/libct_proto_icmp.c
+++ b/extensions/libct_proto_icmp.c
@@ -77,7 +77,7 @@ int parse(char c, char *argv[],
break;
case '3':
if (optarg) {
- orig->l4src.icmp.id = atoi(optarg);
+ orig->l4src.icmp.id = htons(atoi(optarg));
reply->l4dst.icmp.id = 0;
*flags |= ICMP_ID;
}
@@ -106,7 +106,7 @@ static struct ctproto_handler icmp = {
.final_check = final_check,
.help = help,
.opts = opts,
- .version = CONNTRACK_VERSION,
+ .version = VERSION,
};
void __attribute__ ((constructor)) init(void);
diff --git a/extensions/libct_proto_sctp.c b/extensions/libct_proto_sctp.c
index 6c85f56..64cfd23 100644
--- a/extensions/libct_proto_sctp.c
+++ b/extensions/libct_proto_sctp.c
@@ -151,7 +151,7 @@ static struct ctproto_handler sctp = {
.final_check = final_check,
.help = help,
.opts = opts,
- .version = CONNTRACK_VERSION,
+ .version = VERSION,
};
void __attribute__ ((constructor)) init(void);
diff --git a/extensions/libct_proto_tcp.c b/extensions/libct_proto_tcp.c
index 36ef6fc..3a01c0a 100644
--- a/extensions/libct_proto_tcp.c
+++ b/extensions/libct_proto_tcp.c
@@ -174,7 +174,7 @@ static struct ctproto_handler tcp = {
.final_check = final_check,
.help = help,
.opts = opts,
- .version = CONNTRACK_VERSION,
+ .version = VERSION,
};
void __attribute__ ((constructor)) init(void);
diff --git a/extensions/libct_proto_udp.c b/extensions/libct_proto_udp.c
index 2c812c6..958d464 100644
--- a/extensions/libct_proto_udp.c
+++ b/extensions/libct_proto_udp.c
@@ -132,7 +132,7 @@ static struct ctproto_handler udp = {
.final_check = final_check,
.help = help,
.opts = opts,
- .version = CONNTRACK_VERSION,
+ .version = VERSION,
};
void __attribute__ ((constructor)) init(void);