From b36420ef32e0c396added191db3b29abaa61afe6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 15 May 2020 12:25:10 +0900 Subject: [PATCH] Bump the default of CONFIG_NETDB_BUFSIZE The old default didn't work even for moderate cases. (eg. strlen(name) == 17, two ipv4 addresses, on 64-bit sim) --- 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 3478001e62f..507f665e79d 100644 --- a/libs/libc/netdb/Kconfig +++ b/libs/libc/netdb/Kconfig @@ -20,7 +20,7 @@ config LIBC_GAISTRERROR config NETDB_BUFSIZE int "gethostbyname/gethostbyaddr buffer size" - default 128 + default 256 config NETDB_MAX_IPADDR int "Max number of IP addresses per host"