diff --git a/miss/miss.cpp b/miss/miss.cpp index 07c0214..012a2c1 100644 --- a/miss/miss.cpp +++ b/miss/miss.cpp @@ -116,7 +116,7 @@ bool UPnPMapPort(struct UPNPUrls* urls, struct IGDdatas* data, int proto, const // Some routers change the description, so we can't check that here if (!strcmp(intClient, myAddr)) { if (atoi(leaseDuration) == 0) { - printf("OK (Static)" NL); + printf("OK (Static, Internal port: %s)" NL, intPort); // If we have an existing permanent mapping, we can just leave it alone. if (enable) { @@ -124,7 +124,7 @@ bool UPnPMapPort(struct UPNPUrls* urls, struct IGDdatas* data, int proto, const } } else { - printf("OK (%s seconds remaining)" NL, leaseDuration); + printf("OK (%s seconds remaining, Internal port: %s)" NL, leaseDuration, intPort); } // If we're just validating, we found an entry, so we're done. diff --git a/mist/mist.cpp b/mist/mist.cpp index bef92b0..ac7a71f 100644 --- a/mist/mist.cpp +++ b/mist/mist.cpp @@ -1002,7 +1002,7 @@ UPnPPortStatus UPnPCheckPort(struct UPNPUrls* urls, struct IGDdatas* data, int p } else if (err == UPNPCOMMAND_SUCCESS) { if (!strcmp(myAddr, intClient)) { - fprintf(LOG_OUT, "OK\n"); + fprintf(LOG_OUT, "OK (Internal port: %s)\n", intPort); return OK; } else {