From cba426021d419cef6fb45c79849237841dd239c7 Mon Sep 17 00:00:00 2001 From: Tyler Anderson Date: Wed, 13 Dec 2017 12:08:17 -0800 Subject: [PATCH] Ensure MDNS broadcasts go out on whatever interfaces we are using --- esp-link/cgiwifi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/esp-link/cgiwifi.c b/esp-link/cgiwifi.c index 9a0ea62..01d3532 100644 --- a/esp-link/cgiwifi.c +++ b/esp-link/cgiwifi.c @@ -128,6 +128,7 @@ static char* mdns_txt = "ssh_upload=no"; void ICACHE_FLASH_ATTR wifiStartMDNS(struct ip_addr ip) { if (flashConfig.mdns_enable) { + wifi_set_broadcast_if(wifi_get_opmode()); if (mdns_info == NULL) mdns_info = (struct mdns_info *)os_zalloc(sizeof(struct mdns_info));