1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 11:29:53 +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); FreeBuf(b);
} }
if (online) k->Offline = !online;
{
k->Offline = true;
SetLinkOnline(k);
}
else
{
k->Offline = false;
SetLinkOffline(k);
}
ReleaseLink(k); ReleaseLink(k);
} }