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 08:44:28 +0000 (10:44 +0200)
commitf1e32854619c09a49d85f5066517e300130cbcd2
tree3c78fab0a3f75fbc5fb684b0866018e043535e98
parent3a2cc2c8ad0abe72070688348d70c8d3aadc46ef
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