mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-10-25 13:40:14 +00:00
Use moonlight-stream.org instead of google.com to avoid issues in China
This commit is contained in:
1 parent
cd4adae22b
commit
18b704b85a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -324,7 +324,7 @@ bool FindLocalInterfaceIP4Address(PSOCKADDR_IN addr)
|
||||
|
||||
printf("Finding local IP address...");
|
||||
|
||||
host = gethostbyname("google.com");
|
||||
host = gethostbyname("moonlight-stream.org");
|
||||
if (host == nullptr) {
|
||||
printf("gethostbyname() failed: %d\n", WSAGetLastError());
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user