mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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
|
||||
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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue