mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Fix cascade links may start before configuration is loaded
This commit is contained in:
parent
d95d8ddefa
commit
a5565fce4b
@ -3457,16 +3457,8 @@ void SiLoadHubLinkCfg(FOLDER *f, HUB *h)
|
|||||||
FreeBuf(b);
|
FreeBuf(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (online)
|
k->Offline = !online;
|
||||||
{
|
|
||||||
k->Offline = true;
|
|
||||||
SetLinkOnline(k);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
k->Offline = false;
|
|
||||||
SetLinkOffline(k);
|
|
||||||
}
|
|
||||||
ReleaseLink(k);
|
ReleaseLink(k);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user