try that again. I hate platform-specific code.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4598 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-02-07 09:39:18 +00:00
parent 9140cccb9f
commit db77a84453

View file

@ -2194,8 +2194,8 @@ int FTENET_GetLocalAddress(int port, qboolean ipx, qboolean ipv4, qboolean ipv6,
#endif
0)
{
SockadrToNetadr(&ifa->ifa_addr, addresses[idx]);
addresses[idx]->port = port;
SockadrToNetadr((struct sockaddr_qstorage*)&ifa->ifa_addr, &addresses[idx]);
addresses[idx].port = port;
adrflags[idx] = 0;
idx++;
}