mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-27 14:30:11 +00:00
Fix mDNS overriding manually specified addresses
This commit is contained in:
1 parent
3464539bd3
commit
832b9189f8
2 files changed
+22
-3
No files matched your search
@@ -49,8 +49,8 @@ static NSString* NV_SERVICE_TYPE = @"_nvstream._tcp";
|
||||
for (NSNetService* service in services) {
|
||||
if (service.hostName != nil) {
|
||||
TemporaryHost* host = [[TemporaryHost alloc] init];
|
||||
host.activeAddress = host.address = service.hostName;
|
||||
host.name = host.address;
|
||||
host.activeAddress = host.localAddress = service.hostName;
|
||||
host.name = service.hostName;
|
||||
[hosts addObject:host];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user