nshlib/netcmds: Decouple nslookup from netdb_dnsclient

Allow disabling nslookup even when not using dnsclient.
This commit is contained in:
Denis Tolstov 2022-07-19 23:07:12 +03:00 committed by Xiang Xiao
parent c4c3ffff90
commit 5ae2e1034b

View File

@ -401,7 +401,7 @@ config NSH_DISABLE_NSFMOUNT
config NSH_DISABLE_NSLOOKUP
bool "Disable nslookup"
default DEFAULT_SMALL
depends on LIBC_NETDB && NETDB_DNSCLIENT
depends on LIBC_NETDB
config NSH_DISABLE_PASSWD
bool "Disable passwd"