mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-07 11:03:55 +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;
|
f->data[f->datalength] = 0;
|
||||||
serverUrl = f->data;
|
serverUrl = f->data;
|
||||||
serverUrlLen = f->datalength;
|
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) {
|
if (agent->multicastServerUrl != NULL) {
|
||||||
serverUrl = agent->multicastServerUrl;
|
serverUrl = agent->multicastServerUrl;
|
||||||
|
|||||||
Reference in New Issue
Block a user