From 636b64846a61d4f6858ac597c70b40d969939f1b Mon Sep 17 00:00:00 2001 From: Piyush Shah Date: Fri, 19 Oct 2018 03:33:19 +0530 Subject: [PATCH] esp8266_lwip: Use CONFIG_LWIP_MAX_SOCKETS to set the maximum sockets Signed-off-by: Piyush Shah --- components/lwip/port/esp8266/include/lwipopts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lwip/port/esp8266/include/lwipopts.h b/components/lwip/port/esp8266/include/lwipopts.h index ab1449d5..757eaf5b 100644 --- a/components/lwip/port/esp8266/include/lwipopts.h +++ b/components/lwip/port/esp8266/include/lwipopts.h @@ -353,7 +353,7 @@ void *memp_malloc_ll(size_t type); * MEMP_NUM_NETCONN: the number of struct netconns. * (only needed if you use the sequential API, like api_lib.c) */ -#define MEMP_NUM_NETCONN 10 +#define MEMP_NUM_NETCONN CONFIG_LWIP_MAX_SOCKETS /**