Ensure MDNS broadcasts go out on whatever interfaces we are using

pull/458/head
Tyler Anderson 7 years ago committed by Thorsten von Eicken
parent ef3d68d8f0
commit cba426021d
  1. 1
      esp-link/cgiwifi.c

@ -128,6 +128,7 @@ static char* mdns_txt = "ssh_upload=no";
void ICACHE_FLASH_ATTR wifiStartMDNS(struct ip_addr ip) { void ICACHE_FLASH_ATTR wifiStartMDNS(struct ip_addr ip) {
if (flashConfig.mdns_enable) { if (flashConfig.mdns_enable) {
wifi_set_broadcast_if(wifi_get_opmode());
if (mdns_info == NULL) if (mdns_info == NULL)
mdns_info = (struct mdns_info *)os_zalloc(sizeof(struct mdns_info)); mdns_info = (struct mdns_info *)os_zalloc(sizeof(struct mdns_info));

Loading…
Cancel
Save