From 3724f6be557525a550f35fe2942f10c1d06f27c2 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 25 Oct 2021 20:08:43 +0800 Subject: [PATCH] lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX Signed-off-by: Xiang Xiao --- libs/libc/netdb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/netdb/Kconfig b/libs/libc/netdb/Kconfig index 4e59f85d72..0975472a95 100644 --- a/libs/libc/netdb/Kconfig +++ b/libs/libc/netdb/Kconfig @@ -83,7 +83,7 @@ config NETDB_DNSCLIENT_ENTRIES config NETDB_DNSCLIENT_NAMESIZE int "Max size of a cached hostname" - default 32 + default NAME_MAX ---help--- The size of a hostname string in the DNS resolver cache is fixed. This setting provides the maximum size of a hostname. Names longer