Skip to content

Commit dba2f92

Browse files
committed
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
1 parent fe495ef commit dba2f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266SSDP/ESP8266SSDP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extern "C" {
5151
#define SSDP_METHOD_SIZE 10
5252
#define SSDP_URI_SIZE 2
5353
#define SSDP_BUFFER_SIZE 64
54-
#define SSDP_MULTICAST_TTL 1
54+
#define SSDP_MULTICAST_TTL 2
5555
static const IPAddress SSDP_MULTICAST_ADDR(239, 255, 255, 250);
5656

5757

0 commit comments

Comments
 (0)