mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-02-06 19:53:14 +00:00
Fixed bug with self test
This commit is contained in:
@@ -5143,7 +5143,10 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char **
|
||||
}
|
||||
#endif
|
||||
|
||||
ILibIPAddressMonitor_Create(agentHost->chain, MeshAgent_AgentMode_IPAddressChanged_Handler, agentHost);
|
||||
if (ILibSimpleDataStore_Get(agentHost->masterDb, "selfTest", NULL, 0) == 0)
|
||||
{
|
||||
ILibIPAddressMonitor_Create(agentHost->chain, MeshAgent_AgentMode_IPAddressChanged_Handler, agentHost);
|
||||
}
|
||||
MeshServer_Connect(agentHost);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user