mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
optimized
This commit is contained in:
parent
b03bd7a299
commit
cb09096a59
@ -921,7 +921,7 @@ namespace Jellyfin.Networking.Manager
|
|||||||
if (config.IgnoreVirtualInterfaces)
|
if (config.IgnoreVirtualInterfaces)
|
||||||
{
|
{
|
||||||
// each virtual interface name must be pre-pended with the exclusion symbol !
|
// 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)
|
if (lanAddresses.Length > 0)
|
||||||
{
|
{
|
||||||
var newList = new string[lanAddresses.Length + virtualInterfaceNames.Length];
|
var newList = new string[lanAddresses.Length + virtualInterfaceNames.Length];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user