[libs] Fix mDNS after a wifi disconnect / reconnect event (#112)

* [libs] Fix mDNS not responding when device disconnects / reconnects to wifi

* Minor bugfix

* Reworked mDNS fix

* Update LwIPmDNS.cpp
This commit is contained in:
Stroe Andrei Catalin
2023-05-01 22:44:03 +03:00
committed by GitHub
parent 8999cb9091
commit 219415174e
3 changed files with 82 additions and 21 deletions

View File

@@ -5,7 +5,8 @@
#include_next "lwipopts.h"
// - 2022-05-23 set LWIP_NUM_NETIF_CLIENT_DATA to 1
#define LWIP_NUM_NETIF_CLIENT_DATA 1
#define LWIP_NUM_NETIF_CLIENT_DATA 1
#define LWIP_NETIF_EXT_STATUS_CALLBACK 1
// - 2022-05-23 set MEMP_NUM_UDP_PCB to 7
#undef MEMP_NUM_UDP_PCB
#define MEMP_NUM_UDP_PCB 7