mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
optimization
This commit is contained in:
parent
90d72d6628
commit
a664aac881
@ -387,7 +387,7 @@ namespace Jellyfin.Networking.Manager
|
|||||||
// Get the first LAN interface address that isn't a loopback.
|
// Get the first LAN interface address that isn't a loopback.
|
||||||
var interfaces = CreateCollection(_interfaceAddresses
|
var interfaces = CreateCollection(_interfaceAddresses
|
||||||
.Exclude(_bindExclusions)
|
.Exclude(_bindExclusions)
|
||||||
.Where(IsInLocalNetwork(p))
|
.Where(IsInLocalNetwork)
|
||||||
.OrderBy(p => p.Tag));
|
.OrderBy(p => p.Tag));
|
||||||
|
|
||||||
if (interfaces.Count > 0)
|
if (interfaces.Count > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user