From 7fb398c4ed7654c42b5a3bdaf45b7eacc9f1a2e0 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 17 Apr 2005 20:59:11 +0000 Subject: [PATCH] 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 --- engine/common/net_wins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/net_wins.c b/engine/common/net_wins.c index c52b16c3e..f3aa057de 100644 --- a/engine/common/net_wins.c +++ b/engine/common/net_wins.c @@ -782,12 +782,12 @@ void NET_SendPacket (netsrc_t netsrc, int length, void *data, netadr_t to) #endif case NA_BROADCAST_IP: case NA_IP: - size = sizeof(struct sockaddr_ip); + size = sizeof(struct sockaddr_in); break; #ifdef IPPROTO_IPV6 case NA_BROADCAST_IP6: case NA_IPV6: - size = sizeof(struct sockaddr_ip6); + size = sizeof(struct sockaddr_in6); break; #endif }