mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-03 08:15:40 +00:00
Print computer name when looking for mappings
This commit is contained in:
parent
c6837c95f1
commit
3145d34381
@ -88,7 +88,7 @@ bool UPnPMapPort(struct UPNPUrls* urls, struct IGDdatas* data, int proto, const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Checking for existing UPnP port mapping for %s %s -> %s...", protoStr, portStr, myAddr);
|
printf("Checking for existing UPnP port mapping for %s %s -> %s %s...", protoStr, portStr, myAddr, computerName);
|
||||||
int err = UPNP_GetSpecificPortMappingEntry(
|
int err = UPNP_GetSpecificPortMappingEntry(
|
||||||
urls->controlURL, data->first.servicetype, portStr, protoStr, nullptr,
|
urls->controlURL, data->first.servicetype, portStr, protoStr, nullptr,
|
||||||
intClient, intPort, desc, enabled, leaseDuration);
|
intClient, intPort, desc, enabled, leaseDuration);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user