summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net_sdl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net_sdl.c b/src/net_sdl.c
index da74f525..4ccc6067 100644
--- a/src/net_sdl.c
+++ b/src/net_sdl.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: net_sdl.c 479 2006-05-11 12:03:02Z fraggle $
+// $Id: net_sdl.c 543 2006-05-29 20:04:08Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -221,8 +221,7 @@ static void NET_SDL_SendPacket(net_addr_t *addr, net_packet_t *packet)
if (addr == &net_broadcast_addr)
{
- ip.host = INADDR_BROADCAST;
- ip.port = DEFAULT_PORT;
+ SDLNet_ResolveHost(&ip, NULL, DEFAULT_PORT);
}
else
{