Merge pull request #1416 from domosekai/listener

Fix TCP and UDP listener behavior
This commit is contained in:
Ilya Shipitsin authored and GitHub committed 2021-07-07 16:08:05 +05:00
commit 60db1962f9
3 files changed
+39 -6

No files matched your search

+8 -1
View File
@@ -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)