mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-27 06:32:59 +00:00
mDNS discovered hosts have the name set to the address until they are polled
This commit is contained in:
parent
f0b145c01a
commit
d134ff83d6
@ -52,6 +52,7 @@ static NSString* NV_SERVICE_TYPE = @"_nvstream._tcp";
|
|||||||
if (service.hostName != nil) {
|
if (service.hostName != nil) {
|
||||||
Host* host = [dataMan createHost];
|
Host* host = [dataMan createHost];
|
||||||
host.address = service.hostName;
|
host.address = service.hostName;
|
||||||
|
host.name = host.address;
|
||||||
[hosts addObject:host];
|
[hosts addObject:host];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user