forked from mirrors/linphone-iphone
Use random port instead of fixed 15060 for tunnel transport.
This commit is contained in:
parent
622af47cb2
commit
a6c1410623
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue