Zero out protocol strings when reconnecting
@@ -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))
{
