(seems like i can't even count, thus 16/15)

[NETFILTER] ctnetlink: ICMP_ID is u_int16_t not u_int8_t.

Signed-off-by: Krzysztof Piotr Oledzki <[EMAIL PROTECTED]>
Signed-off-by: Pablo Neira Ayuso <[EMAIL PROTECTED]>
Signed-off-by: Harald Welte <[EMAIL PROTECTED]>

---
commit 824a31f4feb58ea25c4c83886d8d30f401dd76b1
tree 0a6b95b7fcb788d40598e4fc10c217cbd5bd2547
parent 0dacadb7aafa3e6ad1c234b02149be9a07e80294
author Krzysztof Piotr Oledzki <[EMAIL PROTECTED]> Tue, 08 Nov 2005 15:59:45 
+0100
committer Harald Welte <[EMAIL PROTECTED]> Tue, 08 Nov 2005 15:59:45 +0100

 net/ipv4/netfilter/ip_conntrack_proto_icmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/netfilter/ip_conntrack_proto_icmp.c 
b/net/ipv4/netfilter/ip_conntrack_proto_icmp.c
--- a/net/ipv4/netfilter/ip_conntrack_proto_icmp.c
+++ b/net/ipv4/netfilter/ip_conntrack_proto_icmp.c
@@ -305,7 +305,7 @@ static int icmp_nfattr_to_tuple(struct n
        tuple->dst.u.icmp.code =
                        *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_CODE-1]);
        tuple->src.u.icmp.id =
-                       *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_ID-1]);
+                       *(u_int16_t *)NFA_DATA(tb[CTA_PROTO_ICMP_ID-1]);
 
        return 0;
 }
-- 
- Harald Welte <[EMAIL PROTECTED]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

Attachment: pgpNDFmhaxxuM.pgp
Description: PGP signature

Reply via email to