mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Support ipv6
Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
This commit is contained in:
parent
6a6ba69189
commit
6bd41d5dd2
|
@ -34,7 +34,7 @@ public:
|
|||
if(pConnect[0])
|
||||
{
|
||||
NETADDR Connect;
|
||||
if(net_host_lookup(pConnect, &Connect, NETTYPE_IPV4) == 0)
|
||||
if(net_host_lookup(pConnect, &Connect, NETTYPE_ALL) == 0)
|
||||
{
|
||||
m_ConnectAddr = Connect;
|
||||
m_GotConnectAddr = true;
|
||||
|
|
Loading…
Reference in a new issue