Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
129
Issues
129
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
3babe447
Commit
3babe447
authored
Nov 29, 2019
by
Sébastien Blin
Committed by
Adrien Béraud
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
natpmp: avoid log flooding in case of an init error
Change-Id: I88ff2997ec436f0f10672fa14471de93395673fa
parent
12742b8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/upnp/protocol/natpmp/nat_pmp.cpp
src/upnp/protocol/natpmp/nat_pmp.cpp
+2
-0
No files found.
src/upnp/protocol/natpmp/nat_pmp.cpp
View file @
3babe447
...
...
@@ -44,6 +44,8 @@ NatPmp::NatPmp()
}
if
(
err
<
0
)
{
JAMI_ERR
(
"NAT-PMP: Can't initialize libnatpmp -> %s"
,
getNatPmpErrorStr
(
err
).
c_str
());
// Retry to init nat pmp in 10 seconds
std
::
this_thread
::
sleep_for
(
std
::
chrono
::
seconds
(
10
));
}
else
{
char
addrbuf
[
INET_ADDRSTRLEN
];
inet_ntop
(
AF_INET
,
&
natpmpHdl_
.
gateway
,
addrbuf
,
sizeof
(
addrbuf
));
...
...
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