This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 3724f6be557525a550f35fe2942f10c1d06f27c2
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Oct 25 20:08:43 2021 +0800

    lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 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 4e59f85..0975472 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

Reply via email to