busybox: mention SRV support in help message
[openwrt/staging/ynezz.git] / package / utils / busybox / patches / 540-nslookup-mention-QUERY_TYPE-SRV.patch
1 From a0136f24f788e8bfc4ab74a647b27e115a25d9fb Mon Sep 17 00:00:00 2001
2 From: Paul Spooren <mail@aparcar.org>
3 Date: Wed, 19 May 2021 00:55:21 +0200
4 Subject: [PATCH] nslookup: mention QUERY_TYPE SRV
5
6 SRV lookups are supported since "6b4960155 nslookup: implement support
7 for SRV records" and should therefore be mentioned as a possible
8 QUERY_TYPE in the help message.
9
10 Signed-off-by: Paul Spooren <mail@aparcar.org>
11 ---
12 networking/nslookup.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/networking/nslookup.c b/networking/nslookup.c
16 index dda22de0e..2ae8d391c 100644
17 --- a/networking/nslookup.c
18 +++ b/networking/nslookup.c
19 @@ -25,7 +25,7 @@
20 //usage:#define nslookup_full_usage "\n\n"
21 //usage: "Query DNS about HOST"
22 //usage: IF_FEATURE_NSLOOKUP_BIG("\n")
23 -//usage: IF_FEATURE_NSLOOKUP_BIG("\nQUERY_TYPE: soa,ns,a,"IF_FEATURE_IPV6("aaaa,")"cname,mx,txt,ptr,any")
24 +//usage: IF_FEATURE_NSLOOKUP_BIG("\nQUERY_TYPE: soa,ns,a,"IF_FEATURE_IPV6("aaaa,")"cname,mx,txt,ptr,srv,any")
25 //usage:#define nslookup_example_usage
26 //usage: "$ nslookup localhost\n"
27 //usage: "Server: default\n"
28 --
29 2.30.2
30