From: divverent Date: Sun, 3 Oct 2010 13:59:29 +0000 (+0000) Subject: turn off the weird "%interface_name" thing in IPv6 addresses, as it won't compare... X-Git-Tag: xonotic-v0.1.0preview~56^2~105 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=13f5cfe3e80c22eaf001856423dd03e68c476a33;p=xonotic%2Fdarkplaces.git turn off the weird "%interface_name" thing in IPv6 addresses, as it won't compare right git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10512 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/netconn.c b/netconn.c index f6e5a6f3..cd03c4c6 100755 --- a/netconn.c +++ b/netconn.c @@ -1528,6 +1528,7 @@ static void NetConn_ClientParsePacket_ServerList_ParseDPList(lhnetaddress_t *sen /// \TODO: make some basic checks of the IP address (broadcast, ...) +#ifdef WHY_JUST_WHY ifname = LHNETADDRESS_GetInterfaceName(senderaddress); if (ifname != NULL) { @@ -1537,6 +1538,7 @@ static void NetConn_ClientParsePacket_ServerList_ParseDPList(lhnetaddress_t *sen ifname, port); } else +#endif { dpsnprintf (ipstring, sizeof (ipstring), "[%x:%x:%x:%x:%x:%x:%x:%x]:%hu", (data[1] << 8) | data[2], (data[3] << 8) | data[4], (data[5] << 8) | data[6], (data[7] << 8) | data[8],