mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 03:45:08 +03:00
Fixed bug in VPN client
This commit is contained in:
parent
97df3c6b0c
commit
776d3816d0
@ -465,7 +465,14 @@ void ListenerTCPMainLoop(LISTENER *r)
|
||||
{
|
||||
if (r->ShadowIPv6 == false)
|
||||
{
|
||||
s = ListenEx2(r->Port, r->LocalOnly, r->EnableConditionalAccept, &r->Cedar->Server->ListenIP);
|
||||
if (r->Cedar->Server == NULL)
|
||||
{
|
||||
s = ListenEx2(r->Port, r->LocalOnly, r->EnableConditionalAccept, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
s = ListenEx2(r->Port, r->LocalOnly, r->EnableConditionalAccept, &r->Cedar->Server->ListenIP);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user