revert to previous awk getopt behavior - the new one seems crappier and breaks a...
[openwrt.git] / package / busybox / patches / 120-ping-no_warnings.patch
1 --- busybox-1.3.1/networking/ping.c 2006-12-27 05:52:39.000000000 +0100
2 +++ busybox-1.3.1-new/networking/ping.c 2006-12-29 18:42:36.000000000 +0100
3 @@ -217,7 +217,8 @@
4 pkt->icmp_type = ICMP_ECHO;
5 pkt->icmp_code = 0;
6 pkt->icmp_cksum = 0;
7 - pkt->icmp_seq = htons(ntransmitted++);
8 + pkt->icmp_seq = htons(ntransmitted);
9 + ntransmitted++;
10 pkt->icmp_id = myid;
11 CLR(ntohs(pkt->icmp_seq) % MAX_DUP_CHK);
12
13 --- busybox-1.3.1/networking/ping6.c 2006-12-27 05:52:39.000000000 +0100
14 +++ busybox-1.3.1-new/networking/ping6.c 2006-12-29 18:44:02.000000000 +0100
15 @@ -205,7 +205,8 @@
16 pkt->icmp6_type = ICMP6_ECHO_REQUEST;
17 pkt->icmp6_code = 0;
18 pkt->icmp6_cksum = 0;
19 - pkt->icmp6_seq = htons(ntransmitted++);
20 + pkt->icmp6_seq = htons(ntransmitted);
21 + ntransmitted++;
22 pkt->icmp6_id = myid;
23 CLR(pkt->icmp6_seq % MAX_DUP_CHK);
24
This page took 0.0392 seconds and 5 git commands to generate.