aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking/Extensions/NetworkExtensions.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-07-07 08:52:14 +0200
committerShadowghost <Ghost_of_Stone@web.de>2023-07-07 08:52:14 +0200
commit266d55b7aab84133bdc66c28b628f2ddd4ad7c9e (patch)
tree1ce2a5d9e73f4c13b148a262e1a2f227d5168ace /Jellyfin.Networking/Extensions/NetworkExtensions.cs
parenta0d13a241891bbf832cc86909f0dbe20c979be52 (diff)
Fix bad string interpolation in MaskToCidr
Diffstat (limited to 'Jellyfin.Networking/Extensions/NetworkExtensions.cs')
-rw-r--r--Jellyfin.Networking/Extensions/NetworkExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Extensions/NetworkExtensions.cs b/Jellyfin.Networking/Extensions/NetworkExtensions.cs
index d55f78135..e45fa3bcb 100644
--- a/Jellyfin.Networking/Extensions/NetworkExtensions.cs
+++ b/Jellyfin.Networking/Extensions/NetworkExtensions.cs
@@ -104,7 +104,7 @@ public static partial class NetworkExtensions
Span<byte> bytes = stackalloc byte[mask.AddressFamily == AddressFamily.InterNetwork ? Network.IPv4MaskBytes : Network.IPv6MaskBytes];
if (!mask.TryWriteBytes(bytes, out var bytesWritten))
{
- Console.WriteLine("Unable to write address bytes, only {bytesWritten} bytes written.");
+ Console.WriteLine("Unable to write address bytes, only ${bytesWritten} bytes written.");
}
var zeroed = false;