mirror of https://github.com/BOINC/boinc.git
android: Rename existing android devices which have the domain_name 'localhost'. Parsing of the existing host info structure in the client_state.xml file happens before the detection routines are executed.
This commit is contained in:
parent
2788770bc9
commit
8d115edf35
|
@ -63,7 +63,7 @@ int HOST_INFO::get_local_network_info() {
|
|||
strcpy(ip_addr, "");
|
||||
|
||||
#ifdef ANDROID
|
||||
if (strlen(domain_name)) return 0;
|
||||
if (strlen(domain_name) && (strcmp(domain_name, "localhost") != 0)) return 0;
|
||||
char buf[256];
|
||||
make_random_string("", buf);
|
||||
buf[8] = 0;
|
||||
|
|
Loading…
Reference in New Issue