[package] update busybox to 1.15.2 (#5926)
[openwrt.git] / package / busybox / patches / 500-ping6_crash.patch
1 Index: busybox-1.15.2/networking/ping.c
2 ===================================================================
3 --- busybox-1.15.2.orig/networking/ping.c 2009-11-24 22:57:29.000000000 +0100
4 +++ busybox-1.15.2/networking/ping.c 2009-11-24 22:58:58.000000000 +0100
5 @@ -769,6 +769,7 @@
6 int ping6_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
7 int ping6_main(int argc UNUSED_PARAM, char **argv)
8 {
9 + argv[-1] = argv[0];
10 argv[0] = (char*)"-6";
11 return ping_main(0 /* argc+1 - but it's unused anyway */,
12 argv - 1);
This page took 0.054039 seconds and 5 git commands to generate.