mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-03 00:06:11 +00:00
Print UPnP root desc URL in logs
This commit is contained in:
parent
03c89e4022
commit
9772139229
@ -319,10 +319,10 @@ bool UPnPHandleDeviceList(struct UPNPDev* list, bool enable, char* lanAddrOverri
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (ret == 1) {
|
else if (ret == 1) {
|
||||||
printf("Found a connected UPnP IGD" NL);
|
printf("Found a connected UPnP IGD (%s)" NL, urls.rootdescURL);
|
||||||
}
|
}
|
||||||
else if (ret == 2) {
|
else if (ret == 2) {
|
||||||
printf("Found a disconnected UPnP IGD (!)" NL);
|
printf("Found a disconnected (!) UPnP IGD (%s)" NL, urls.rootdescURL);
|
||||||
|
|
||||||
// Even if we are able to add forwarding entries, go ahead and try NAT-PMP
|
// Even if we are able to add forwarding entries, go ahead and try NAT-PMP
|
||||||
success = false;
|
success = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user