optimized

This commit is contained in:
BaronGreenback 2021-02-21 00:42:06 +00:00
parent b03bd7a299
commit cb09096a59
1 changed files with 1 additions and 1 deletions

View File

@ -921,7 +921,7 @@ namespace Jellyfin.Networking.Manager
if (config.IgnoreVirtualInterfaces)
{
// each virtual interface name must be pre-pended with the exclusion symbol !
var virtualInterfaceNames = config.VirtualInterfaceNames.Split(',').Select(p => '!' + p).ToArray();
var virtualInterfaceNames = config.VirtualInterfaceNames.Split(',').Select(p => "!" + p).ToArray();
if (lanAddresses.Length > 0)
{
var newList = new string[lanAddresses.Length + virtualInterfaceNames.Length];