From bd4469aa799d2b1bdc6d899aa1e4e6efd9e998b5 Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Wed, 19 Jun 2024 12:43:59 +0200 Subject: [PATCH] samples: net: dns_resolve: Increase socket-related configs Current NET_SOCKETS_POLL_MAX and ZVFS_OPEN_MAX values were too low for the sample after the DNS refactoring, making the sample unusable in current state. Bump those values accordingly to make the sample functional again. Signed-off-by: Robert Lubos --- samples/net/dns_resolve/prj.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/net/dns_resolve/prj.conf b/samples/net/dns_resolve/prj.conf index b2de8a0dd4f..399b1bce9f2 100644 --- a/samples/net/dns_resolve/prj.conf +++ b/samples/net/dns_resolve/prj.conf @@ -14,7 +14,8 @@ CONFIG_NET_IPV6=y CONFIG_NET_IPV4=y CONFIG_NET_DHCPV4=n -CONFIG_NET_SOCKETS_POLL_MAX=4 +CONFIG_NET_SOCKETS_POLL_MAX=5 +CONFIG_ZVFS_OPEN_MAX=5 # Enable the DNS resolver CONFIG_DNS_RESOLVER=y