aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6552cd8ec..caa3d964a 100644
--- a/Emby.Server.Implementations/Networking/NetworkManager.cs
+++ b/Emby.Server.Implementations/Networking/NetworkManager.cs
@@ -296,7 +296,7 @@ namespace Emby.Server.Implementations.Networking
continue;
}
- if (Array.IndexOf(subnets, "[" + i.ToString() + "]") == -1)
+ if (Array.IndexOf(subnets, $"[{i}]") == -1)
{
listClone.Add(i);
}