- bugfix to use correct port when removing non standard upnp port forwards

This commit is contained in:
Mark Vejvoda 2012-10-16 16:23:24 +00:00
parent 152a9328b4
commit d6334c0c6b
1 changed files with 2 additions and 1 deletions

View File

@ -2103,7 +2103,8 @@ ServerSocket::~ServerSocket() {
//printf("In [%s::%s] Line: %d UPNP_Tools::enabledUPNP = %d\n",__FILE__,__FUNCTION__,__LINE__,UPNP_Tools::enabledUPNP);
if (UPNP_Tools::enabledUPNP) {
UPNP_Tools::NETremRedirects(ServerSocket::externalPort);
//UPNP_Tools::NETremRedirects(ServerSocket::externalPort);
UPNP_Tools::NETremRedirects(this->getExternalPort());
//UPNP_Tools::enabledUPNP = false;
}