mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
Updated to latest version of code.
This commit is contained in:
@@ -302,8 +302,8 @@ namespace Rssdp.Infrastructure
|
||||
foreach (var device in deviceList)
|
||||
{
|
||||
var root = device.ToRootDevice();
|
||||
var source = new IPNetAddress(root.Address, root.SubnetMask);
|
||||
var destination = new IPNetAddress(remoteEndPoint.Address, root.SubnetMask);
|
||||
var source = new IPNetAddress(root.Address, root.PrefixLength);
|
||||
var destination = new IPNetAddress(remoteEndPoint.Address, root.PrefixLength);
|
||||
if (!_sendOnlyMatchedHost || source.NetworkAddress.Equals(destination.NetworkAddress))
|
||||
{
|
||||
SendDeviceSearchResponses(device, remoteEndPoint, receivedOnlocalIpAddress, cancellationToken);
|
||||
|
||||
@@ -45,9 +45,9 @@ namespace Rssdp
|
||||
public IPAddress Address { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the SubnetMask used to check if the received message from same interface with this device/tree. Required.
|
||||
/// Gets or sets the prefix length used to check if the received message from same interface with this device/tree. Required.
|
||||
/// </summary>
|
||||
public IPAddress SubnetMask { get; set; }
|
||||
public byte PrefixLength { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The base URL to use for all relative url's provided in other propertise (and those of child devices). Optional.
|
||||
|
||||
Reference in New Issue
Block a user