Fix WifiUDP::beginMulticastPacket()
Fixes: https://github.com/espressif/arduino-esp32/issues/304 Thanks @jliegner :)
This commit is contained in:
parent
2b075f3204
commit
6519a35799
@ -123,8 +123,8 @@ void WiFiUDP::stop(){
|
||||
int WiFiUDP::beginMulticastPacket(){
|
||||
if(!server_port || multicast_ip == IPAddress(INADDR_ANY))
|
||||
return 0;
|
||||
remote_ip = server_port;
|
||||
remote_port = multicast_ip;
|
||||
remote_ip = multicast_ip;
|
||||
remote_port = server_port;
|
||||
return beginPacket();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user