projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4be0b2
)
agent: Ignore UPnP mappings after the UPnP discovery has finished
author
Olivier Crête
<olivier.crete@collabora.com>
Wed, 1 Oct 2014 02:49:16 +0000
(22:49 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Thu, 9 Oct 2014 20:26:07 +0000
(16:26 -0400)
agent/agent.c
patch
|
blob
|
history
diff --git
a/agent/agent.c
b/agent/agent.c
index
156a0c4
..
97f52c9
100644
(file)
--- a/
agent/agent.c
+++ b/
agent/agent.c
@@
-2502,6
+2502,9
@@
static void _upnp_mapped_external_port (GUPnPSimpleIgd *self, gchar *proto,
agent_lock();
+ if (agent->upnp_timer_source == NULL)
+ goto end;
+
nice_debug ("Agent %p : Successfully mapped %s:%d to %s:%d", agent, local_ip,
local_port, external_ip, external_port);