You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gu...@apache.org on 2021/10/25 22:50:28 UTC

[incubator-nuttx] 01/02: libc/netdb: Change default of NETDB_DNSCLIENT_MAXRESPONSE to NETDB_BUFSIZE

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 c4472b64cb96b10b2b3143a91f1a72913f7a3fe6
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Oct 25 20:03:01 2021 +0800

    libc/netdb: Change default of NETDB_DNSCLIENT_MAXRESPONSE to NETDB_BUFSIZE
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 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 b20cf8d..4e59f85 100644
--- a/libs/libc/netdb/Kconfig
+++ b/libs/libc/netdb/Kconfig
@@ -104,7 +104,7 @@ config NETDB_DNSCLIENT_LIFESEC
 
 config NETDB_DNSCLIENT_MAXRESPONSE
 	int "Max response size"
-	default 256
+	default NETDB_BUFSIZE
 	---help---
 		This setting determines the maximum size of response message that
 		can be received by the DNS resolver.  The default used to be 96,