mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-07 19:13:20 +00:00
Unverified fix for localmode multicast
This commit is contained in:
@@ -2999,7 +2999,7 @@ void MeshServer_ConnectEx(MeshAgentHostContainer *agent)
|
||||
f->data[f->datalength] = 0;
|
||||
serverUrl = f->data;
|
||||
serverUrlLen = f->datalength;
|
||||
if (f->datalength > 5 && memcmp(f->data, "local", 5) == 0)
|
||||
if (f->datalength == 5 && memcmp(f->data, "local", 5) == 0)
|
||||
{
|
||||
if (agent->multicastServerUrl != NULL) {
|
||||
serverUrl = agent->multicastServerUrl;
|
||||
|
||||
Reference in New Issue
Block a user