Skip to content

Commit 2b24b91

Browse files
authored
Update ESPmDNS.cpp
1 parent c1da578 commit 2b24b91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/ESPmDNS/src/ESPmDNS.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ License (MIT license):
3838
#define LWIP_OPEN_SRC
3939
#endif
4040

41+
#if CONFIG_MDNS_MAX_INTERFACES
42+
4143
#include "ESPmDNS.h"
4244
#include <functional>
4345
#include "esp_mac.h"
@@ -391,3 +393,5 @@ String MDNSResponder::txtKey(int idx, int txtIdx) {
391393
}
392394

393395
MDNSResponder MDNS;
396+
397+
#endif /* CONFIG_MDNS_MAX_INTERFACES */

0 commit comments

Comments
 (0)