1
0
Fork 0
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:
winlin 2014-07-27 18:39:20 +08:00
parent b8ae5c63fc
commit f4ea48adcb
6 changed files with 19 additions and 19 deletions

View file

@ -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;