mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-04-13 03:06:29 +00:00
Use moonlight-stream.org instead of google.com to avoid issues in China
This commit is contained in:
@@ -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