Index: webrtc/base/networkroute.h |
diff --git a/webrtc/base/networkroute.h b/webrtc/base/networkroute.h |
index 52fa6d612f47d93983bbfdac973388ff0ce5a70e..b16a382971a012910be3a939acedffbea9854e10 100644 |
--- a/webrtc/base/networkroute.h |
+++ b/webrtc/base/networkroute.h |
@@ -30,10 +30,11 @@ struct NetworkRoute { |
last_sent_packet_id(-1) {} |
// The route is connected if the local and remote network ids are provided. |
- NetworkRoute(uint16_t local_net_id, |
+ NetworkRoute(bool is_connected, |
pthatcher1
2016/06/08 18:26:39
Why not "connected"?
honghaiz3
2016/06/08 18:36:42
Done
|
+ uint16_t local_net_id, |
uint16_t remote_net_id, |
int last_packet_id) |
- : connected(true), |
+ : connected(is_connected), |
local_network_id(local_net_id), |
remote_network_id(remote_net_id), |
last_sent_packet_id(last_packet_id) {} |