Fix TCP and UDP listener behavior

This commit is contained in:
domosekai committed 2021-07-07 10:50:23 +00:00
1 parent 505c854303
commit 6e400c19af
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)