Fixed a minor bug on exotic systems.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2530 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9b24dd1871
commit
19f998ecde
1 changed files with 2 additions and 0 deletions
|
@ -1741,6 +1741,8 @@ int UDP6_OpenSocket (int port, qboolean bcast)
|
|||
// int i;
|
||||
int maxport = port + 100;
|
||||
|
||||
memset(&address, 0, sizeof(address));
|
||||
|
||||
if ((newsocket = socket (PF_INET6, SOCK_DGRAM, 0)) == -1)
|
||||
{
|
||||
Con_Printf("IPV6 is not supported: %s\n", strerror(qerrno));
|
||||
|
|
Loading…
Reference in a new issue