From c1743c65da41104859281d03a0c0e3969ec77eb0 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 21 Sep 2016 01:53:44 +0200 Subject: [PATCH] Fix dumb mistake --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4cdd4e0..5eeb3d0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,7 +62,7 @@ namespace { } ); if (it_found == parPortMappings.end()) { - parUpnp.remove_port_mapping(it_found->port, parHost, it_found->protocol); + parUpnp.remove_port_mapping(redir.external_port, parHost, redir.protocol); } } }