diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-06 21:48:53 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-06 21:48:53 +0100 |
commit | 9f31e2ffa005095206824e08f69da75503e998ab (patch) | |
tree | 312c72a32090bdb6c6c1adb6d48ccdc30eb495fa /package/busybox/busybox-1.18.2/busybox-1.18.2-ping.patch | |
parent | 4fb67dbb958f3c3bea2b5bfe34d2ffbaa6ea6e40 (diff) | |
download | buildroot-novena-9f31e2ffa005095206824e08f69da75503e998ab.tar.gz buildroot-novena-9f31e2ffa005095206824e08f69da75503e998ab.zip |
busybox: 1.18.2 fixes for ping, tar and udhcp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.18.2/busybox-1.18.2-ping.patch')
-rw-r--r-- | package/busybox/busybox-1.18.2/busybox-1.18.2-ping.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.18.2/busybox-1.18.2-ping.patch b/package/busybox/busybox-1.18.2/busybox-1.18.2-ping.patch new file mode 100644 index 000000000..34262d66c --- /dev/null +++ b/package/busybox/busybox-1.18.2/busybox-1.18.2-ping.patch @@ -0,0 +1,11 @@ +--- busybox-1.18.2/networking/ping.c ++++ busybox-1.18.2-ping/networking/ping.c +@@ -394,7 +394,7 @@ static void sendping4(int junk UNUSED_PA + #if ENABLE_PING6 + static void sendping6(int junk UNUSED_PARAM) + { +- struct icmp6_hdr *pkt = alloca(datalen + sizeof(struct icmp6_hdr) + 4); ++ struct icmp6_hdr *pkt = G.snd_packet; + + //memset(pkt, 0, datalen + sizeof(struct icmp6_hdr) + 4); + pkt->icmp6_type = ICMP6_ECHO_REQUEST; |