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:
parent
9140cccb9f
commit
db77a84453
1 changed files with 2 additions and 2 deletions
|
@ -2194,8 +2194,8 @@ int FTENET_GetLocalAddress(int port, qboolean ipx, qboolean ipv4, qboolean ipv6,
|
||||||
#endif
|
#endif
|
||||||
0)
|
0)
|
||||||
{
|
{
|
||||||
SockadrToNetadr(&ifa->ifa_addr, addresses[idx]);
|
SockadrToNetadr((struct sockaddr_qstorage*)&ifa->ifa_addr, &addresses[idx]);
|
||||||
addresses[idx]->port = port;
|
addresses[idx].port = port;
|
||||||
adrflags[idx] = 0;
|
adrflags[idx] = 0;
|
||||||
idx++;
|
idx++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue