mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 14:45:51 +03:00
Fixed ConnectionInfo.Identity returning wrong thing
This commit is contained in:
parent
1797505960
commit
36e5e50d85
@ -35,7 +35,7 @@ public struct ConnectionInfo
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Who is on the other end? Depending on the connection type and phase of the connection, we might not know
|
/// Who is on the other end? Depending on the connection type and phase of the connection, we might not know
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public NetIdentity Identity => address;
|
public NetIdentity Identity => identity;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Basic cause of the connection termination or problem.
|
/// Basic cause of the connection termination or problem.
|
||||||
|
@ -136,6 +136,11 @@ public IPAddress Address
|
|||||||
return Utility.Int32ToIp( ip );
|
return Utility.Int32ToIp( ip );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( IsIPv6AllZeros )
|
||||||
|
{
|
||||||
|
return IPAddress.IPv6Loopback;
|
||||||
|
}
|
||||||
|
|
||||||
throw new System.NotImplementedException( "Oops - no IPV6 support yet?" );
|
throw new System.NotImplementedException( "Oops - no IPV6 support yet?" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user