mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Update Jellyfin.Networking/Manager/NetworkManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
d99d95422e
commit
cc19d281e7
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ namespace Jellyfin.Networking.Manager
|
||||||
// Replace all the interface tags with the interface IP's.
|
// Replace all the interface tags with the interface IP's.
|
||||||
foreach (IPNetAddress iface in _interfaceAddresses)
|
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)
|
&& ((IsIP4Enabled && iface.Address.AddressFamily == AddressFamily.InterNetwork)
|
||||||
|| (IsIP6Enabled && iface.Address.AddressFamily == AddressFamily.InterNetworkV6)))
|
|| (IsIP6Enabled && iface.Address.AddressFamily == AddressFamily.InterNetworkV6)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue