Commit 164105a5 authored by Olivier Crête's avatar Olivier Crête

agent: Ignore UPnP mappings after the UPnP discovery has finished

parent f4be0b23
...@@ -2502,6 +2502,9 @@ static void _upnp_mapped_external_port (GUPnPSimpleIgd *self, gchar *proto, ...@@ -2502,6 +2502,9 @@ static void _upnp_mapped_external_port (GUPnPSimpleIgd *self, gchar *proto,
agent_lock(); agent_lock();
if (agent->upnp_timer_source == NULL)
goto end;
nice_debug ("Agent %p : Successfully mapped %s:%d to %s:%d", agent, local_ip, nice_debug ("Agent %p : Successfully mapped %s:%d to %s:%d", agent, local_ip,
local_port, external_ip, external_port); local_port, external_ip, external_port);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment