mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 14:11:35 +00:00
Remove forced population of host.address
This commit is contained in:
@@ -141,16 +141,6 @@
|
|||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
else {
|
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];
|
[_hostQueue addObject:host];
|
||||||
if (shouldDiscover) {
|
if (shouldDiscover) {
|
||||||
[_opQueue addOperation:[self createWorkerForHost:host]];
|
[_opQueue addOperation:[self createWorkerForHost:host]];
|
||||||
|
|||||||
Reference in New Issue
Block a user