Minor improvements

This commit is contained in:
Bond_009
2020-12-02 15:38:52 +01:00
parent 3b4f86579b
commit e4fd61411f
15 changed files with 48 additions and 75 deletions

View File

@@ -256,7 +256,7 @@ namespace Jellyfin.Networking.Manager
}
catch (ArgumentException e)
{
_logger.LogWarning(e, "Ignoring LAN value {value}.", v);
_logger.LogWarning(e, "Ignoring LAN value {Value}.", v);
}
}
@@ -668,7 +668,6 @@ namespace Jellyfin.Networking.Manager
if (address.AddressFamily == AddressFamily.InterNetworkV6)
{
int i = str.IndexOf("%", StringComparison.OrdinalIgnoreCase);
if (i != -1)
{
str = str.Substring(0, i);