diff options
-rw-r--r-- | networking/ping6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping6.c b/networking/ping6.c index 767aafd..fd695f1 100644 --- a/networking/ping6.c +++ b/networking/ping6.c @@ -198,7 +198,7 @@ static void sendping(int junk) pkt->icmp6_type = ICMP6_ECHO_REQUEST; pkt->icmp6_code = 0; pkt->icmp6_cksum = 0; - pkt->icmp6_seq = ntransmitted++; + pkt->icmp6_seq = SWAP_BE16(ntransmitted++); pkt->icmp6_id = myid; CLR(pkt->icmp6_seq % MAX_DUP_CHK); |