Browse Source

Added missing break after choosing a STUN server

Paul-Louis Ageneau 5 years ago
parent
commit
a1b88be353
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/icetransport.cpp

+ 1 - 0
src/icetransport.cpp

@@ -83,6 +83,7 @@ IceTransport::IceTransport(const Configuration &config, Description::Role role,
 			mStunService = server.service;
 			mStunService = server.service;
 			jconfig.stun_server_host = mStunHostname.c_str();
 			jconfig.stun_server_host = mStunHostname.c_str();
 			jconfig.stun_server_port = std::stoul(mStunService);
 			jconfig.stun_server_port = std::stoul(mStunService);
+			break;
 		}
 		}
 	}
 	}