Only discover api server ip as candidate.
This commit is contained in:
parent
6919011e86
commit
51ca3fd80a
|
|
@ -178,8 +178,7 @@ srs_error_t api_server_as_candidates(string api, set<string>& candidate_ips)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to add the original hostname and ip as candidates.
|
// Try to add the API server ip as candidates.
|
||||||
candidate_ips.insert(hostname);
|
|
||||||
candidate_ips.insert(ip);
|
candidate_ips.insert(ip);
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user