From 8189d54703901c31dcaeb3f43453d0ec3237b200 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 15 Jul 2019 01:00:50 -0700 Subject: [PATCH] Remove forced population of host.address --- Limelight/Network/DiscoveryManager.m | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Limelight/Network/DiscoveryManager.m b/Limelight/Network/DiscoveryManager.m index 51d8d5f..4f45d36 100644 --- a/Limelight/Network/DiscoveryManager.m +++ b/Limelight/Network/DiscoveryManager.m @@ -141,16 +141,6 @@ return NO; } else { - // If we were added without an explicit address, - // populate it from our other available addresses - if (host.address == nil) { - if (host.externalAddress != nil) { - host.address = host.externalAddress; - } - else { - host.address = host.localAddress; - } - } [_hostQueue addObject:host]; if (shouldDiscover) { [_opQueue addOperation:[self createWorkerForHost:host]];