mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
Maybe one day I'll compile before committing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@957 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
54afb16222
commit
7fb398c4ed
1 changed files with 2 additions and 2 deletions
|
@ -782,12 +782,12 @@ void NET_SendPacket (netsrc_t netsrc, int length, void *data, netadr_t to)
|
||||||
#endif
|
#endif
|
||||||
case NA_BROADCAST_IP:
|
case NA_BROADCAST_IP:
|
||||||
case NA_IP:
|
case NA_IP:
|
||||||
size = sizeof(struct sockaddr_ip);
|
size = sizeof(struct sockaddr_in);
|
||||||
break;
|
break;
|
||||||
#ifdef IPPROTO_IPV6
|
#ifdef IPPROTO_IPV6
|
||||||
case NA_BROADCAST_IP6:
|
case NA_BROADCAST_IP6:
|
||||||
case NA_IPV6:
|
case NA_IPV6:
|
||||||
size = sizeof(struct sockaddr_ip6);
|
size = sizeof(struct sockaddr_in6);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue