aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Networking/NetworkManager.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2018-12-28 16:48:26 +0100
committerBond_009 <bond.009@outlook.com>2018-12-28 16:48:26 +0100
commit6e5d2aadaa17d891b9c4b4f17faf1316f43aaee6 (patch)
tree484095486778f0c428799842a435e663485aa731 /Emby.Server.Implementations/Networking/NetworkManager.cs
parenta86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 (diff)
Remove custom ToArray extension
Diffstat (limited to 'Emby.Server.Implementations/Networking/NetworkManager.cs')
-rw-r--r--Emby.Server.Implementations/Networking/NetworkManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Networking/NetworkManager.cs b/Emby.Server.Implementations/Networking/NetworkManager.cs
index 20abaf27c..4699b5bd4 100644
--- a/Emby.Server.Implementations/Networking/NetworkManager.cs
+++ b/Emby.Server.Implementations/Networking/NetworkManager.cs
@@ -706,7 +706,7 @@ namespace Emby.Server.Implementations.Networking
public async Task<IpAddressInfo[]> GetHostAddressesAsync(string host)
{
var addresses = await Dns.GetHostAddressesAsync(host).ConfigureAwait(false);
- return addresses.Select(ToIpAddressInfo).ToArray(addresses.Length);
+ return addresses.Select(ToIpAddressInfo).ToArray();
}
/// <summary>