1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

Fix cascade links may start before configuration is loaded

This commit is contained in:
Yihong Wu 2021-12-16 23:29:22 +08:00
parent d95d8ddefa
commit a5565fce4b

View File

@ -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);
}