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 08:44:28 +0000 (10:44 +0200)
commit76871a8dbbf26ea68b1f95b2e46774def87930d3
treeb1bfbbf8e2835b120deb2a8abc5c0c116a473ba3
parentf1e32854619c09a49d85f5066517e300130cbcd2
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