mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-20 15:27:17 +00:00
Log an error if STUN fails
This commit is contained in:
1 parent
8e6dadfa79
commit
39a2e8be78
1 file changed
+3
@@ -78,6 +78,9 @@ static NSString* NV_SERVICE_TYPE = @"_nvstream._tcp";
|
||||
inet_ntop(AF_INET, &wanAddr, addrStr, sizeof(addrStr));
|
||||
host.externalAddress = [NSString stringWithFormat: @"%s", addrStr];
|
||||
}
|
||||
else {
|
||||
Log(LOG_E, @"STUN failed to get WAN address: %d", err);
|
||||
}
|
||||
|
||||
host.activeAddress = host.localAddress = service.hostName;
|
||||
host.name = service.hostName;
|
||||
|
||||
Reference in new issue
Block a user