Print a message when we discover no UPnP devices at all

This commit is contained in:
Cameron Gutman 2018-10-23 17:13:09 -07:00
parent 1efebca1bd
commit e8c39d1919

View File

@ -618,6 +618,9 @@ bool CheckWANAccess(PSOCKADDR_IN wanAddr, PSOCKADDR_IN reportedWanAddr, bool* fo
FreeUPNPUrls(&urls);
}
else {
printf("No UPnP devices detected\n");
}
}
// Use the delay of upnpDiscoverAll() to also allow the NAT-PMP endpoint time to respond