From dba2f92f789acd6fe36277b65a22acab3061dbf1 Mon Sep 17 00:00:00 2001 From: Wyatt Neal Date: Tue, 5 Jan 2016 20:33:05 -0500 Subject: [PATCH] fixing TTL to 2 per spec the v1.1 upnp spec indicates that the default TTL should be set to 2 (and should also be configurable): * http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf --- libraries/ESP8266SSDP/ESP8266SSDP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266SSDP/ESP8266SSDP.cpp b/libraries/ESP8266SSDP/ESP8266SSDP.cpp index ee1a78530..b2d7c1487 100644 --- a/libraries/ESP8266SSDP/ESP8266SSDP.cpp +++ b/libraries/ESP8266SSDP/ESP8266SSDP.cpp @@ -51,7 +51,7 @@ extern "C" { #define SSDP_METHOD_SIZE 10 #define SSDP_URI_SIZE 2 #define SSDP_BUFFER_SIZE 64 -#define SSDP_MULTICAST_TTL 1 +#define SSDP_MULTICAST_TTL 2 static const IPAddress SSDP_MULTICAST_ADDR(239, 255, 255, 250);