mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Apply review suggestions
This commit is contained in:
parent
3f6354cdb8
commit
b725fbe51a
@ -61,7 +61,7 @@ namespace Emby.Server.Implementations.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public ISocket CreateUdpMulticastSocket(IPAddress ipAddress, IPAddress bindIpAddress, int multicastTimeToLive, int localPort)
|
public ISocket CreateUdpMulticastSocket(IPAddress ipAddress, IPAddress? bindIpAddress, int multicastTimeToLive, int localPort)
|
||||||
{
|
{
|
||||||
ArgumentNullException.ThrowIfNull(ipAddress);
|
ArgumentNullException.ThrowIfNull(ipAddress);
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ namespace Jellyfin.Server.Tests
|
|||||||
true,
|
true,
|
||||||
true,
|
true,
|
||||||
new string[] { "192.168.t", "127.0.0.1", "::1", "1234.1232.12.1234" },
|
new string[] { "192.168.t", "127.0.0.1", "::1", "1234.1232.12.1234" },
|
||||||
new IPAddress[] { IPAddress.Loopback, },
|
new IPAddress[] { IPAddress.Loopback },
|
||||||
new IPNetwork[] { new IPNetwork(IPAddress.IPv6Loopback, 128) });
|
new IPNetwork[] { new IPNetwork(IPAddress.IPv6Loopback, 128) });
|
||||||
|
|
||||||
data.Add(
|
data.Add(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user