Remove forced population of host.address

This commit is contained in:
Cameron Gutman
2019-07-15 01:00:50 -07:00
parent ac8514e3cb
commit 8189d54703

View File

@@ -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]];