mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 06:35:49 +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>
|
||||
/// Who is on the other end? Depending on the connection type and phase of the connection, we might not know
|
||||
/// </summary>
|
||||
public NetIdentity Identity => address;
|
||||
public NetIdentity Identity => identity;
|
||||
|
||||
/// <summary>
|
||||
/// Basic cause of the connection termination or problem.
|
||||
|
@ -136,6 +136,11 @@ public IPAddress Address
|
||||
return Utility.Int32ToIp( ip );
|
||||
}
|
||||
|
||||
if ( IsIPv6AllZeros )
|
||||
{
|
||||
return IPAddress.IPv6Loopback;
|
||||
}
|
||||
|
||||
throw new System.NotImplementedException( "Oops - no IPV6 support yet?" );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user