Skip to content

Commit

Permalink
Fix Connect_DualMode_DnsConnect_RetrievedEndPoints_Success on Linux (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
antonfirsov committed Jun 29, 2021
1 parent 39e8a6e commit 1b61065
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public async Task Connect_DualMode_DnsConnect_RetrievedEndPoints_Success()

var localEndPoint = client.LocalEndPoint as IPEndPoint;
Assert.NotNull(localEndPoint);
Assert.Equal(IPAddress.Loopback.MapToIPv6(), localEndPoint.Address);
Assert.True(localEndPoint.Address.Equals(IPAddress.IPv6Loopback) || localEndPoint.Address.Equals(IPAddress.Loopback.MapToIPv6()));

var remoteEndPoint = client.RemoteEndPoint as IPEndPoint;
Assert.NotNull(remoteEndPoint);
Expand Down

0 comments on commit 1b61065

Please sign in to comment.