mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Fix bad string interpolation in MaskToCidr
This commit is contained in:
parent
a0d13a2418
commit
266d55b7aa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user