busybox: nslookup_lede: fix compatibility with v1.25
authorJo-Philipp Wich <jo@mein.io>
Tue, 25 Apr 2017 12:03:11 +0000 (14:03 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 27 Apr 2017 13:31:07 +0000 (15:31 +0200)
commita2ee9b7068f77e0285b9cb68399bbafc674777af
treef87d91c7ee9498e0263e2f25082248c4b7175c96
parentaf1d1ebdda59602cbb61c84a103a1149a054a1b4
busybox: nslookup_lede: fix compatibility with v1.25

The ":*" optstring syntax was only recently introduced with BusyBox v1.26,
older versions need a corresponding hint in the "opt_complementary" variable
to denote flag values that should be stored as llist entries.

Add the required opt_complementary entry to fix random SIGBUS, SIGILL or
SIGSEGV related crashes on BusyBox 1.25.x when attempting to use the "-q"
flag of the "nslookup_lede" applet.

Ref: https://forum.lede-project.org/t/nslookup-ipv6-in-lede-17-01-1

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/utils/busybox/Makefile
package/utils/busybox/patches/230-add_nslookup_lede.patch