mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-27 02:29:52 +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);
|
||||
}
|
||||
|
||||
if (online)
|
||||
{
|
||||
k->Offline = true;
|
||||
SetLinkOnline(k);
|
||||
}
|
||||
else
|
||||
{
|
||||
k->Offline = false;
|
||||
SetLinkOffline(k);
|
||||
}
|
||||
k->Offline = !online;
|
||||
|
||||
ReleaseLink(k);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user