Fix ESP32 KNX UDP multicastpackage

Fix ESP32 KNX UDP multicastpackage (#9811)
This commit is contained in:
Theo Arends 2020-11-17 13:53:49 +01:00
parent a66686dae3
commit 3d44203cb5
1 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,10 @@ class WiFiUDP32 : public WiFiUDP
}
void beginPacketMulticast(IPAddress multicast, uint16_t port, IPAddress interfaceAddr)
{
if (0 == WiFiUDP::beginMulticastPacket()) {
WiFiUDP::beginMulticast(multicast, port);
}
WiFiUDP::beginMulticastPacket();
}
};