From 48da4a28eb82fff734c65c8d05987acfb63023b9 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 6 Sep 2024 11:07:28 +0100 Subject: [PATCH] Bump MEMP_NUM_SYS_TIMEOUT to fix mDNS on Legacy IP (#3) In 2.2.0, mDNS needs ten extra timeouts. We didn't give it enough, which means it didn't respond on Legacy IP because the 'recent multicast' flag never got reset by the timer. --- port/lwipopts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/lwipopts.h b/port/lwipopts.h index 7a40cd74..3c7e3b58 100644 --- a/port/lwipopts.h +++ b/port/lwipopts.h @@ -179,7 +179,7 @@ * MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. * (requires NO_SYS==0) */ -#define MEMP_NUM_SYS_TIMEOUT LWIP_NUM_SYS_TIMEOUT_INTERNAL + 4 +#define MEMP_NUM_SYS_TIMEOUT LWIP_NUM_SYS_TIMEOUT_INTERNAL + 10 /** * MEMP_NUM_NETBUF: the number of struct netbufs.