aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jellyfin.Networking/Manager/NetworkManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs
index 760938c40..83661d6b3 100644
--- a/Jellyfin.Networking/Manager/NetworkManager.cs
+++ b/Jellyfin.Networking/Manager/NetworkManager.cs
@@ -450,7 +450,7 @@ namespace Jellyfin.Networking.Manager
return new NetCollection(_internalInterfaces.Where(p => !p.IsLoopback()));
}
- return new NetCollection(_bindAddresses.Where(p => !p.IsLoopback()));
+ return new NetCollection(_bindAddresses);
}
}
@@ -1127,7 +1127,7 @@ namespace Jellyfin.Networking.Manager
private bool MatchesBindInterface(IPObject source, bool isExternal, out string result)
{
result = string.Empty;
- var nc = new NetCollection(_bindAddresses.Exclude(_bindExclusions).Where(p => !p.IsLoopback()));
+ var nc = _bindAddresses.Exclude(_bindExclusions);
int count = nc.Count;
if (count == 1 && (_bindAddresses[0].Equals(IPAddress.Any) || _bindAddresses[0].Equals(IPAddress.IPv6Any)))