mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
github: enable warnings
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
5f183bfc42
commit
5b0e19438a
10 changed files with 26 additions and 20 deletions
4
SSDP.cpp
4
SSDP.cpp
|
|
@ -728,7 +728,7 @@ void SSDPClass::_processRequest(AsyncUDPPacket &p) {
|
|||
this->_printPacket(&pkt);
|
||||
DEBUG_SSDP.println("--------------- ROOT ---------------------");
|
||||
#endif
|
||||
if(pkt.method == MULTICAST)
|
||||
if(pkt.type == MULTICAST)
|
||||
this->_addToSendQueue(IPAddress(SSDP_MULTICAST_ADDR), SSDP_PORT, dev, pkt.st, pkt.mx, false);
|
||||
else
|
||||
this->_sendResponse(p.remoteIP(), p.remotePort(), dev, pkt.st, false);
|
||||
|
|
@ -746,7 +746,7 @@ void SSDPClass::_processRequest(AsyncUDPPacket &p) {
|
|||
this->_printPacket(&pkt);
|
||||
DEBUG_SSDP.println("-------------- ACCEPT --------------------");
|
||||
#endif
|
||||
if(pkt.method == MULTICAST)
|
||||
if(pkt.type == MULTICAST)
|
||||
this->_addToSendQueue(IPAddress(SSDP_MULTICAST_ADDR), SSDP_PORT, dev, pkt.st, pkt.mx, useUUID);
|
||||
else {
|
||||
this->_sendResponse(p.remoteIP(), p.remotePort(), dev, pkt.st, useUUID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue