Index: remoting/protocol/pepper_transport_factory.cc |
diff --git a/remoting/protocol/pepper_transport_factory.cc b/remoting/protocol/pepper_transport_factory.cc |
index 5f6371207ab55c0e3587824865a0be87e569b9f0..5d380cfe09134cc4504678e5647b11aed3516dfa 100644 |
--- a/remoting/protocol/pepper_transport_factory.cc |
+++ b/remoting/protocol/pepper_transport_factory.cc |
@@ -149,7 +149,7 @@ void PepperStreamTransport::Connect( |
LOG(ERROR) << "Failed to set TCP ACK delay."; |
} |
- if (config_.nat_traversal) { |
+ if (config_.nat_traversal_mode == TransportConfig::NAT_TRAVERSAL_ENABLED) { |
if (transport->SetProperty( |
PP_TRANSPORTPROPERTY_STUN_SERVER, |
pp::Var(config_.stun_server)) != PP_OK) { |