diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2021-02-27 19:10:58 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-27 19:10:58 +0000 |
| commit | cc19d281e7363748af0b42a063859df169bf71e3 (patch) | |
| tree | 1359c60c1b9883db390f517de95766aeebad85b1 /Jellyfin.Networking | |
| parent | d99d95422ed52bd3a7dbf9f7bd947feb809a2616 (diff) | |
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Diffstat (limited to 'Jellyfin.Networking')
| -rw-r--r-- | Jellyfin.Networking/Manager/NetworkManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs index 05796d6a3..51fcb6d9a 100644 --- a/Jellyfin.Networking/Manager/NetworkManager.cs +++ b/Jellyfin.Networking/Manager/NetworkManager.cs @@ -738,7 +738,7 @@ namespace Jellyfin.Networking.Manager // Replace all the interface tags with the interface IP's. foreach (IPNetAddress iface in _interfaceAddresses) { - if (index.Contains(Math.Abs(iface.Tag)) + if (indices.Contains(Math.Abs(iface.Tag)) && ((IsIP4Enabled && iface.Address.AddressFamily == AddressFamily.InterNetwork) || (IsIP6Enabled && iface.Address.AddressFamily == AddressFamily.InterNetworkV6))) { |
