Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/5274/head
BaronGreenback 3 years ago committed by GitHub
parent d99d95422e
commit cc19d281e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)))
{

Loading…
Cancel
Save