update ssdp ignore

This commit is contained in:
Luke Pulverenti 2016-02-27 22:40:03 -05:00
parent a497a8b3eb
commit bf257ed601

View File

@ -132,6 +132,11 @@ namespace MediaBrowser.Dlna.Ssdp
internal bool IgnoreMessage(SsdpMessageEventArgs args, bool isMulticast) internal bool IgnoreMessage(SsdpMessageEventArgs args, bool isMulticast)
{ {
if (!isMulticast)
{
return false;
}
string usn; string usn;
if (args.Headers.TryGetValue("USN", out usn)) if (args.Headers.TryGetValue("USN", out usn))
{ {