mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
rename network_device_index to network
This commit is contained in:
parent
b8ae5c63fc
commit
f4ea48adcb
6 changed files with 19 additions and 19 deletions
|
@ -61,7 +61,7 @@ void SrsHttpHeartbeat::heartbeat()
|
|||
|
||||
vector<string>& ips = srs_get_local_ipv4_ips();
|
||||
if (!ips.empty()) {
|
||||
ip = ips[_srs_config->get_stats_network_device_index() % (int)ips.size()];
|
||||
ip = ips[_srs_config->get_stats_network() % (int)ips.size()];
|
||||
}
|
||||
|
||||
std::stringstream ss;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue