Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
99595a96
Commit
99595a96
authored
Jan 18, 2011
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not gather candidates if we can't listen to the host interface
parent
5619d893
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
agent/agent.c
agent/agent.c
+4
-2
No files found.
agent/agent.c
View file @
99595a96
...
...
@@ -1705,6 +1705,7 @@ nice_agent_gather_candidates (
GSList
*
i
;
Stream
*
stream
;
GSList
*
local_addresses
=
NULL
;
gboolean
ret
=
TRUE
;
agent_lock
();
...
...
@@ -1795,7 +1796,7 @@ nice_agent_gather_candidates (
nice_address_to_string
(
addr
,
ip
);
nice_debug
(
"Agent %p: Unable to add local host candidate %s for s%d:%d"
". Invalid interface?"
,
agent
,
ip
,
stream
->
id
,
component
->
id
);
continue
;
goto
error
;
}
#ifdef HAVE_GUPNP
...
...
@@ -1853,13 +1854,14 @@ nice_agent_gather_candidates (
discovery_schedule
(
agent
);
}
error:
for
(
i
=
local_addresses
;
i
;
i
=
i
->
next
)
nice_address_free
(
i
->
data
);
g_slist_free
(
local_addresses
);
agent_unlock
();
return
TRUE
;
return
ret
;
}
static
void
priv_free_upnp
(
NiceAgent
*
agent
)
...
...
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