diff options
author | Krzysztof Piotr Oledzki <ole@ans.pl> | 2005-11-09 16:04:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-09 16:04:32 -0500 |
commit | 5fd52fe0989f8c84abd8d4a40ded79d4da911744 (patch) | |
tree | c7150269b22b15bab2185c5fe755706374817e48 /net | |
parent | 439a9994bb6ae3c7cab1f0b776bca6bc7aa58a11 (diff) |
[NETFILTER] ctnetlink: ICMP_ID is u_int16_t not u_int8_t.
Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | 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 index 083951e20690..5198f3a1e2cd 100644 --- 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 nfattr *tb[], | |||
305 | tuple->dst.u.icmp.code = | 305 | tuple->dst.u.icmp.code = |
306 | *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_CODE-1]); | 306 | *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_CODE-1]); |
307 | tuple->src.u.icmp.id = | 307 | tuple->src.u.icmp.id = |
308 | *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_ID-1]); | 308 | *(u_int16_t *)NFA_DATA(tb[CTA_PROTO_ICMP_ID-1]); |
309 | 309 | ||
310 | return 0; | 310 | return 0; |
311 | } | 311 | } |