Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
b8789053
Commit
b8789053
authored
Aug 27, 2013
by
Tristan Matthews
Browse files
* #29158: sip: don't use received port if received port is 0
parent
329d47cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sipaccount.cpp
View file @
b8789053
...
...
@@ -1108,7 +1108,7 @@ std::string SIPAccount::getContactHeader() const
DEBUG
(
"Using received address %s"
,
address
.
c_str
());
}
if
(
rPort_
!=
-
1
)
{
if
(
rPort_
!=
-
1
and
rPort_
!=
0
)
{
portstr
<<
rPort_
;
port
=
portstr
.
str
();
DEBUG
(
"Using received port %s"
,
port
.
c_str
());
...
...
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