diff options
-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 | } |