Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored."

This reverts commit 2aaecb8e14.
This commit is contained in:
BaronGreenback
2020-04-28 21:51:49 +01:00
parent 2aaecb8e14
commit a3140f83c6
6 changed files with 71 additions and 98 deletions

View File

@@ -357,7 +357,7 @@ namespace Rssdp.Infrastructure
private void ProcessSearchResponseMessage(HttpResponseMessage message, IPAddress localIpAddress)
{
if (!message.IsSuccessStatusCode) return;
var location = GetFirstHeaderUriValue("Location", message);
if (location != null)
{