Skip to content

Commit 8b9f78e

Browse files
committed
Switch SSDP send arguments around
They are in the wrong order - `_ssdp_packet_template` expects `_uuid` to be before the NT/ST header.
1 parent edaae2c commit 8b9f78e

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
@@ -206,9 +206,9 @@ void SSDPClass::_send(ssdp_method_t method){
206206
(method == NONE)?_ssdp_response_template:_ssdp_notify_template,
207207
SSDP_INTERVAL,
208208
_modelName, _modelNumber,
209+
_uuid,
209210
(method == NONE)?"ST":"NT",
210211
_deviceType,
211-
_uuid,
212212
IP2STR(&ip), _port, _schemaURL
213213
);
214214

0 commit comments

Comments
 (0)