1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-11-20 18:31:51 +03:00

Merge pull request #1657 from domosekai/detail

This commit is contained in:
Yihong Wu
2022-09-14 10:06:46 +09:00
committed by GitHub

View File

@ -1430,6 +1430,8 @@ void ClientThread(THREAD *t, void *param)
while (true) while (true)
{ {
Zero(&s->ServerIP_CacheForNextConnect, sizeof(IP)); Zero(&s->ServerIP_CacheForNextConnect, sizeof(IP));
Zero(s->UnderlayProtocol, sizeof(s->UnderlayProtocol));
Zero(s->ProtocolDetails, sizeof(s->ProtocolDetails));
if (s->Link != NULL && ((*s->Link->StopAllLinkFlag) || s->Link->Halting)) if (s->Link != NULL && ((*s->Link->StopAllLinkFlag) || s->Link->Halting))
{ {