Commit a6c14106 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Use random port instead of fixed 15060 for tunnel transport.

parent 622af47c
......@@ -257,7 +257,7 @@ void TunnelManager::processTunnelEvent(const Event &ev){
//force transport to udp
LCSipTransports lTransport;
lTransport.udp_port=15060;
lTransport.udp_port=(0xDFFF&random())+1024;
lTransport.tcp_port=0;
lTransport.tls_port=0;
lTransport.dtls_port=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment