busybox: nslookup_lede: mimic output format of old Busybox applet
authorJo-Philipp Wich <jo@mein.io>
Tue, 25 Apr 2017 12:21:08 +0000 (14:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 27 Apr 2017 13:33:16 +0000 (15:33 +0200)
commitfe0b1713725913511b5042322f7305a418a04e54
treeb7ae9386e62422434ca154076e2ae4146856e81e
parenta2ee9b7068f77e0285b9cb68399bbafc674777af
busybox: nslookup_lede: mimic output format of old Busybox applet

When invoking "nslookup_lede" with a domain argument and without explicit
query type, issue both A and AAAA queries and display the resulting IP
addresses in a numbered list style, similar to how the old BusyBox nslookup
used to output the records.

This is required for compatibility with certain scripts.

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