diff options
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r-- | net/ipv6/icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 4527285fcaa2..a4fa84076969 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
@@ -98,7 +98,7 @@ static void icmpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
98 | 98 | ||
99 | if (!(type & ICMPV6_INFOMSG_MASK)) | 99 | if (!(type & ICMPV6_INFOMSG_MASK)) |
100 | if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) | 100 | if (icmp6->icmp6_type == ICMPV6_ECHO_REQUEST) |
101 | ping_err(skb, offset, info); | 101 | ping_err(skb, offset, ntohl(info)); |
102 | } | 102 | } |
103 | 103 | ||
104 | static int icmpv6_rcv(struct sk_buff *skb); | 104 | static int icmpv6_rcv(struct sk_buff *skb); |