Update Jellyfin.Networking/Manager/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Claus Vium 2021-09-07 19:52:17 +02:00 committed by GitHub
parent 153e920239
commit 4f51a22081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,7 +458,7 @@ namespace Jellyfin.Networking.Manager
return CreateCollection(_internalInterfaces);
}
return new Collection<IPObject>(_bindAddresses.Where(IsInLocalNetwork).ToArray());
return new Collection<IPObject>(_bindAddresses.Where(a => IsInLocalNetwork(a)).ToArray());
}
/// <inheritdoc/>