From 4d9eb3f107defa05c3134d1270ccf1604d9c9726 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 2 Oct 2010 19:20:48 +0000 Subject: [PATCH] fix a stupid and trivial IPv6 bug that causes a v6 supporting engine to HANG git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10509 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=ffc42cb750e2e3b941a79d4acf95e3a3f67f5058 --- lhnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lhnet.c b/lhnet.c index 99b9f144..bba8a685 100644 --- a/lhnet.c +++ b/lhnet.c @@ -1105,7 +1105,7 @@ int LHNET_Read(lhnetsocket_t *lhnetsocket, void *content, int maxcontentlength, SOCKLEN_T inetaddresslength; address->addresstype = LHNETADDRESSTYPE_NONE; inetaddresslength = sizeof(address->addr.in6); - value = recvfrom(lhnetsocket->inetsocket, (char *)content, maxcontentlength, 0, &address->addr.sock, &inetaddresslength); + value = recvfrom(lhnetsocket->inetsocket, (char *)content, maxcontentlength, LHNET_RECVFROM_FLAGS, &address->addr.sock, &inetaddresslength); if (value > 0) { address->addresstype = LHNETADDRESSTYPE_INET6; -- 2.39.2