This commit is contained in:
Richard Holland
2024-12-14 08:55:29 +11:00
parent ae34bbb080
commit 0eba2092ac

View File

@@ -996,16 +996,15 @@ private:
void
monitorThread()
{
std::vector<std::pair<EndpointInfo, int>> endpoints;
for (auto const& epStr : app_.config().DATAGRAM_MONITOR)
{
auto endpoint = parseEndpoint(epStr);
endpoints.push_back(std::make_pair(endpoint, createSocket(endpoint)));
endpoints.push_back(
std::make_pair(endpoint, createSocket(endpoint)));
}
while (running_)
{
try