You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
829 B
24 lines
829 B
--- busybox-1.3.1/networking/ping.c 2006-12-27 05:52:39.000000000 +0100
|
|
+++ busybox-1.3.1-new/networking/ping.c 2006-12-29 18:42:36.000000000 +0100
|
|
@@ -217,7 +217,8 @@
|
|
pkt->icmp_type = ICMP_ECHO;
|
|
pkt->icmp_code = 0;
|
|
pkt->icmp_cksum = 0;
|
|
- pkt->icmp_seq = htons(ntransmitted++);
|
|
+ pkt->icmp_seq = htons(ntransmitted);
|
|
+ ntransmitted++;
|
|
pkt->icmp_id = myid;
|
|
CLR(ntohs(pkt->icmp_seq) % MAX_DUP_CHK);
|
|
|
|
--- busybox-1.3.1/networking/ping6.c 2006-12-27 05:52:39.000000000 +0100
|
|
+++ busybox-1.3.1-new/networking/ping6.c 2006-12-29 18:44:02.000000000 +0100
|
|
@@ -205,7 +205,8 @@
|
|
pkt->icmp6_type = ICMP6_ECHO_REQUEST;
|
|
pkt->icmp6_code = 0;
|
|
pkt->icmp6_cksum = 0;
|
|
- pkt->icmp6_seq = htons(ntransmitted++);
|
|
+ pkt->icmp6_seq = htons(ntransmitted);
|
|
+ ntransmitted++;
|
|
pkt->icmp6_id = myid;
|
|
CLR(pkt->icmp6_seq % MAX_DUP_CHK);
|
|
|
|
|