From e8c39d191903913e87595f65429a8c5e12d4ac62 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 23 Oct 2018 17:13:09 -0700 Subject: [PATCH] Print a message when we discover no UPnP devices at all --- mist/mist.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mist/mist.cpp b/mist/mist.cpp index 0e0d92d..26bce3f 100644 --- a/mist/mist.cpp +++ b/mist/mist.cpp @@ -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