mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 07:17:16 +00:00
Fix another future compile error
This commit is contained in:
parent
19e8f1a2af
commit
e8376885ff
@ -39,7 +39,7 @@ extern "C" {
|
||||
|
||||
// udp.begin(address:string, port:int) -> nil
|
||||
int32_t be_udp_begin_ntv(WiFiUDP *udp, const char *host, int32_t port) {
|
||||
IPAddress addr(INADDR_ANY);
|
||||
IPAddress addr((uint32_t)0);
|
||||
// if no host or host is "" then we defult to INADDR_ANY (0.0.0.0)
|
||||
if(host && (*host != 0) && !WiFiGenericClass::hostByName(host, addr)){
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user