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:
Spoike 2005-04-17 20:59:11 +00:00
parent 54afb16222
commit 7fb398c4ed

View file

@ -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
} }