aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpRootDevice.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-02-27 19:23:31 +0300
committerGitHub <noreply@github.com>2019-02-27 19:23:31 +0300
commit3769453541d8e3da45a9bf40ef0e9da6268bebdc (patch)
tree36b4c42a65b666536f34cd9f8da6b6e54b8a8fc8 /RSSDP/SsdpRootDevice.cs
parent8c2af50170ea2a7964a6ad40bbe60026cfa625b0 (diff)
parent7429c07c05ad12fbacef7952574edd75c294eb8a (diff)
Merge pull request #978 from fasheng/fix-dlna-multiple-interfaces
Fix DLNA for multiple interfaces on linux
Diffstat (limited to 'RSSDP/SsdpRootDevice.cs')
-rw-r--r--RSSDP/SsdpRootDevice.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/RSSDP/SsdpRootDevice.cs b/RSSDP/SsdpRootDevice.cs
index a2b0f60f5..d918b9040 100644
--- a/RSSDP/SsdpRootDevice.cs
+++ b/RSSDP/SsdpRootDevice.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Text;
using System.Xml;
using Rssdp.Infrastructure;
+using MediaBrowser.Model.Net;
namespace Rssdp
{
@@ -52,6 +53,15 @@ namespace Rssdp
/// </summary>
public Uri Location { get; set; }
+ /// <summary>
+ /// Gets or sets the Address used to check if the received message from same interface with this device/tree. Required.
+ /// </summary>
+ public IpAddressInfo Address { get; set; }
+
+ /// <summary>
+ /// Gets or sets the SubnetMask used to check if the received message from same interface with this device/tree. Required.
+ /// </summary>
+ public IpAddressInfo SubnetMask { get; set; }
/// <summary>
/// The base URL to use for all relative url's provided in other propertise (and those of child devices). Optional.