diff --git a/src/main.cpp b/src/main.cpp index 9fbd9c7..552daed 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -45,7 +45,7 @@ namespace { const std::string& parDesc, bool parTryForcing ) { - const std::vector redirs; // = upnp.redirections(); + const std::vector redirs = parUpnp.redirections(); for (auto& mapping : parPortMappings) { //std::cout << "Adding " << mapping.port << " --> " << parHost << ":" << mapping.internal_port << " " << mapping.protocol << '\n';