1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +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
commit ac04c469c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))
{ {