diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-12-30 19:35:58 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-12-30 19:35:58 +0000 |
commit | 924b7ef598953446ffdd6efbc1c65366af83c30c (patch) | |
tree | 9521f2dc4c564fddfdc5ee8aaed16ec54dfa93bb /package/busybox/patches/120-ping-no_warnings.patch | |
parent | 4a0a4aedb6af93af443bd9759712de4ff85f8f7f (diff) | |
download | upstream-924b7ef598953446ffdd6efbc1c65366af83c30c.tar.gz upstream-924b7ef598953446ffdd6efbc1c65366af83c30c.tar.bz2 upstream-924b7ef598953446ffdd6efbc1c65366af83c30c.zip |
update busybox to v1.3.1, i was too lazy to update patch 320, feel free to do so
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5941 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/120-ping-no_warnings.patch')
-rw-r--r-- | package/busybox/patches/120-ping-no_warnings.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/busybox/patches/120-ping-no_warnings.patch b/package/busybox/patches/120-ping-no_warnings.patch new file mode 100644 index 0000000000..5c072ba1d1 --- /dev/null +++ b/package/busybox/patches/120-ping-no_warnings.patch @@ -0,0 +1,24 @@ +--- 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); + |