mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +02:00
Updated link
This commit is contained in:
@@ -2785,12 +2785,12 @@ namespace Shared {
|
||||
//int r = 0;
|
||||
#ifndef MINIUPNPC_VERSION_PRE1_5
|
||||
#ifndef MINIUPNPC_VERSION_PRE1_6
|
||||
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest - glest.github.io", "TCP", 0, NULL);
|
||||
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest", "TCP", 0, NULL);
|
||||
#else
|
||||
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest - glest.github.io", "TCP", 0);
|
||||
int r = UPNP_AddPortMapping(urls.controlURL, data.first.servicetype, ext_port_str, int_port_str, lanaddr, "Glest", "TCP", 0);
|
||||
#endif
|
||||
#else
|
||||
int r = UPNP_AddPortMapping(urls.controlURL, data.servicetype, ext_port_str, int_port_str, lanaddr, "Glest - glest.github.io", "TCP", 0);
|
||||
int r = UPNP_AddPortMapping(urls.controlURL, data.servicetype, ext_port_str, int_port_str, lanaddr, "Glest", "TCP", 0);
|
||||
#endif
|
||||
if (r != UPNPCOMMAND_SUCCESS) {
|
||||
if (SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork, "In [%s::%s Line: %d] AddPortMapping(%s, %s, %s) failed\n", __FILE__, __FUNCTION__, __LINE__, ext_port_str, int_port_str, lanaddr);
|
||||
|
Reference in New Issue
Block a user