Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
a6c14106
Commit
a6c14106
authored
Jan 21, 2013
by
Ghislain MARY
Browse files
Use random port instead of fixed 15060 for tunnel transport.
parent
622af47c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
coreapi/TunnelManager.cc
coreapi/TunnelManager.cc
+1
-1
No files found.
coreapi/TunnelManager.cc
View file @
a6c14106
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment