mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
Consistently write IP in upercase
This commit is contained in:
@@ -421,7 +421,7 @@ public class MediaInfoHelper
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
httpContext.GetNormalizedRemoteIp());
|
||||
httpContext.GetNormalizedRemoteIP());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -487,7 +487,7 @@ public class MediaInfoHelper
|
||||
{
|
||||
var isInLocalNetwork = _networkManager.IsInLocalNetwork(ipAddress);
|
||||
|
||||
_logger.LogInformation("RemoteClientBitrateLimit: {0}, RemoteIp: {1}, IsInLocalNetwork: {2}", remoteClientMaxBitrate, ipAddress, isInLocalNetwork);
|
||||
_logger.LogInformation("RemoteClientBitrateLimit: {0}, RemoteIP: {1}, IsInLocalNetwork: {2}", remoteClientMaxBitrate, ipAddress, isInLocalNetwork);
|
||||
if (!isInLocalNetwork)
|
||||
{
|
||||
maxBitrate = Math.Min(maxBitrate ?? remoteClientMaxBitrate, remoteClientMaxBitrate);
|
||||
|
||||
Reference in New Issue
Block a user