提交 6519a357 编写于 作者: M Me No Dev 提交者: GitHub

Fix WifiUDP::beginMulticastPacket()

Fixes: https://github.com/espressif/arduino-esp32/issues/304

Thanks @jliegner :)
上级 2b075f32
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册