From bd9c6a7d623a5049e17ad90c40dd85fc2d95f718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20Alh=C3=A4ll?= Date: Sun, 10 Nov 2024 16:59:47 +0100 Subject: [PATCH] Fix inconsistency in master server listing --- src/netcode/i_tcp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/netcode/i_tcp.c b/src/netcode/i_tcp.c index 87cc94a0c..a27249dcb 100644 --- a/src/netcode/i_tcp.c +++ b/src/netcode/i_tcp.c @@ -1152,11 +1152,7 @@ static SINT8 SOCK_NetMakeNodewPort(const char *address, const char *port) // test ip address of server for (i = 0; i < mysocketses; ++i) { - /* sendto tests that there is a network to this - address */ - if (runp->ai_addr->sa_family == myfamily[i] && - sendto(mysockets[i], NULL, 0, 0, - runp->ai_addr, runp->ai_addrlen) == 0) + if (runp->ai_addr->sa_family == myfamily[i]) { memcpy(&clientaddress[newnode], runp->ai_addr, runp->ai_addrlen); break;