mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 21:04:00 +02:00
- bugfix to use correct port when removing non standard upnp port forwards
This commit is contained in:
@@ -2103,7 +2103,8 @@ ServerSocket::~ServerSocket() {
|
|||||||
|
|
||||||
//printf("In [%s::%s] Line: %d UPNP_Tools::enabledUPNP = %d\n",__FILE__,__FUNCTION__,__LINE__,UPNP_Tools::enabledUPNP);
|
//printf("In [%s::%s] Line: %d UPNP_Tools::enabledUPNP = %d\n",__FILE__,__FUNCTION__,__LINE__,UPNP_Tools::enabledUPNP);
|
||||||
if (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;
|
//UPNP_Tools::enabledUPNP = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user