From ffc42cb750e2e3b941a79d4acf95e3a3f67f5058 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 --- lhnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lhnet.c b/lhnet.c index 0d32a0c5..75cd5c64 100644 --- a/lhnet.c +++ b/lhnet.c @@ -1112,7 +1112,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