mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Changed to address.
This commit is contained in:
parent
d66bc3fb3e
commit
9a730241b1
@ -212,8 +212,8 @@ namespace Jellyfin.Server.Extensions
|
|||||||
{
|
{
|
||||||
foreach (var address in host.GetAddresses())
|
foreach (var address in host.GetAddresses())
|
||||||
{
|
{
|
||||||
if ((!config.EnableIPV4 && host.AddressFamily == AddressFamily.InterNetwork)
|
if ((!config.EnableIPV4 && address.AddressFamily == AddressFamily.InterNetwork)
|
||||||
|| (!config.EnableIPV6 && host.AddressFamily == AddressFamily.InterNetworkV6))
|
|| (!config.EnableIPV6 && address.AddressFamily == AddressFamily.InterNetworkV6))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user