kopia lustrzana https://github.com/Hamlib/Hamlib
Prevent multicast from trying to use 169.x.x.x network
https://github.com/Hamlib/Hamlib/issues/1461pull/1464/head
rodzic
8c8c20c256
commit
a1b56bc315
|
@ -1063,8 +1063,8 @@ static int is_networked(char *address, int address_length)
|
||||||
addr = &(sa_in6->sin6_addr);
|
addr = &(sa_in6->sin6_addr);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert IP address to string
|
// Convert IP address to string and ignore bad ones
|
||||||
if (addr)
|
if (addr && strncmp(addr, "169", 3) != 0)
|
||||||
{
|
{
|
||||||
count++;
|
count++;
|
||||||
|
|
||||||
|
@ -1248,6 +1248,7 @@ void *multicast_receiver(void *arg)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memset(&dest_addr, 0, sizeof(dest_addr));
|
memset(&dest_addr, 0, sizeof(dest_addr));
|
||||||
|
|
Ładowanie…
Reference in New Issue