mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 08:14:58 +03:00
Fix TCP and UDP listener behavior
This commit is contained in:
@ -386,7 +386,14 @@ void ListenerTCPMainLoop(LISTENER *r)
|
||||
}
|
||||
else
|
||||
{
|
||||
s = ListenEx6(r->Port, r->LocalOnly);
|
||||
if (r->Cedar->Server == NULL)
|
||||
{
|
||||
s = ListenEx6(r->Port, r->LocalOnly);
|
||||
}
|
||||
else
|
||||
{
|
||||
s = ListenEx63(r->Port, r->LocalOnly, false, &r->Cedar->Server->ListenIP);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (r->Protocol == LISTENER_INPROC)
|
||||
|
Reference in New Issue
Block a user