mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 16:59:28 +08:00
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)
This commit is contained in:
committed by
Xiang Xiao
parent
1071934350
commit
b36420ef32
@@ -20,7 +20,7 @@ config LIBC_GAISTRERROR
|
|||||||
|
|
||||||
config NETDB_BUFSIZE
|
config NETDB_BUFSIZE
|
||||||
int "gethostbyname/gethostbyaddr buffer size"
|
int "gethostbyname/gethostbyaddr buffer size"
|
||||||
default 128
|
default 256
|
||||||
|
|
||||||
config NETDB_MAX_IPADDR
|
config NETDB_MAX_IPADDR
|
||||||
int "Max number of IP addresses per host"
|
int "Max number of IP addresses per host"
|
||||||
|
|||||||
Reference in New Issue
Block a user