mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update NetworkManager.cs
This commit is contained in:
parent
b7fb152faf
commit
4cf88f67ba
@ -576,11 +576,7 @@ namespace Jellyfin.Networking.Manager
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <inheritdoc/>
|
||||||
/// Checks to see if <paramref name="remoteIp"/> has access.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="remoteIp">IP Address of client.</param>
|
|
||||||
/// <returns><b>True</b> if has access, otherwise <b>false</b>.</returns>
|
|
||||||
public bool HasRemoteAccess(IPAddress remoteIp)
|
public bool HasRemoteAccess(IPAddress remoteIp)
|
||||||
{
|
{
|
||||||
var config = _configurationManager.GetNetworkConfiguration();
|
var config = _configurationManager.GetNetworkConfiguration();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user