mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-02 00:12:24 +00:00
optimized
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user