Update Emby.Server.Implementations/Networking/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback 2020-06-01 10:14:38 +01:00 committed by GitHub
parent adb789a802
commit 1d86084653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -296,7 +296,7 @@ namespace Emby.Server.Implementations.Networking
continue; continue;
} }
if (Array.IndexOf(subnets, "[" + i.ToString() + "]") == -1) if (Array.IndexOf(subnets, $"[{i}]") == -1)
{ {
listClone.Add(i); listClone.Add(i);
} }