Updated link

This commit is contained in:
mathusummut
2019-02-14 19:36:35 +01:00
parent d69b75b607
commit 95bf40e591
10 changed files with 46 additions and 79 deletions

View File

@@ -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);