lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c4472b64cb
commit
3724f6be55
|
@ -83,7 +83,7 @@ config NETDB_DNSCLIENT_ENTRIES
|
||||||
|
|
||||||
config NETDB_DNSCLIENT_NAMESIZE
|
config NETDB_DNSCLIENT_NAMESIZE
|
||||||
int "Max size of a cached hostname"
|
int "Max size of a cached hostname"
|
||||||
default 32
|
default NAME_MAX
|
||||||
---help---
|
---help---
|
||||||
The size of a hostname string in the DNS resolver cache is fixed.
|
The size of a hostname string in the DNS resolver cache is fixed.
|
||||||
This setting provides the maximum size of a hostname. Names longer
|
This setting provides the maximum size of a hostname. Names longer
|
||||||
|
|
Loading…
Reference in New Issue