diff --git a/esp-link/cgiwifi.c b/esp-link/cgiwifi.c index 70d40dc..edb74de 100644 --- a/esp-link/cgiwifi.c +++ b/esp-link/cgiwifi.c @@ -122,7 +122,8 @@ void ICACHE_FLASH_ATTR wifiAddStateChangeCb(WifiStateChangeCb cb) { } static struct mdns_info *mdns_info; -static char* mdns_txt = "upload_ssh=no"; +// See https://github.com/arduino/Arduino/blob/master/arduino-core/src/cc/arduino/packages/discoverers/NetworkDiscovery.java#L155-L168 +static char* mdns_txt0 = "ssh_upload=no"; void ICACHE_FLASH_ATTR wifiStartMDNS(struct ip_addr ip) { if (flashConfig.mdns_enable) {