mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 10:09:52 +03:00
Zero out protocol strings when reconnecting
This commit is contained in:
parent
e85fc4435e
commit
dc5da0c6a9
@ -1430,6 +1430,8 @@ void ClientThread(THREAD *t, void *param)
|
||||
while (true)
|
||||
{
|
||||
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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user