- Clear ip address listings after a NET_Restart
- check for oldGameSet instead of the gamename string
This commit is contained in:
1 parent
95691ded36
commit
2d1187b287
2 files changed
+5
-1
No files matched your search
@@ -1290,6 +1290,8 @@ static void NET_GetLocalAddress(void)
|
||||
{
|
||||
struct ifaddrs *ifap, *search;
|
||||
|
||||
numIP = 0;
|
||||
|
||||
if(getifaddrs(&ifap))
|
||||
Com_Printf("NET_GetLocalAddress: Unable to get list of network interfaces: %s\n", NET_ErrorString());
|
||||
else
|
||||
@@ -1312,6 +1314,8 @@ static void NET_GetLocalAddress( void ) {
|
||||
struct addrinfo hint;
|
||||
struct addrinfo *res = NULL;
|
||||
|
||||
numIP = 0;
|
||||
|
||||
if(gethostname( hostname, 256 ) == SOCKET_ERROR)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user