From c7aa75e800a3dc5a47bbc22fb5eca3ad64727aa8 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sun, 11 Dec 2016 16:00:26 -0800 Subject: [PATCH] switch mdsn record --- esp-link/cgiwifi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {