mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Cedar/Proto.c: fix crash in ProtoHandleConnection()
The bug was introduced in 8685fe0da1
.
This commit is contained in:
parent
f03e83369e
commit
5611156ca8
@ -510,7 +510,7 @@ bool ProtoHandleConnection(PROTO *proto, SOCK *sock, const char *protocol)
|
||||
const PROTO_CONTAINER *tmp = LIST_DATA(proto->Containers, i);
|
||||
if (StrCmp(tmp->Name, protocol) == 0)
|
||||
{
|
||||
impl = container->Impl;
|
||||
container = tmp;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user