Skip to content

Commit

Permalink
Fix IPv6-only hosts in HappyEyeballsHttp
Browse files Browse the repository at this point in the history
Copy paste xd
  • Loading branch information
PJB3005 committed Aug 4, 2024
1 parent 93cb0e0 commit cb80164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SS14.Launcher/HappyEyeballsHttp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static IPAddress[] SortInterleaved(IPAddress[] addresses)
}
else if (ipv6.Length > ipv4.Length)
{
ipv4.AsSpan(commonLength).CopyTo(result.AsSpan(commonLength * 2));
ipv6.AsSpan(commonLength).CopyTo(result.AsSpan(commonLength * 2));
}

return result;
Expand Down

0 comments on commit cb80164

Please sign in to comment.