Merge pull request #682 from Self-Hosting-Group/upnpc_do_not_show_the_normally_occurring_error_713

upnpc: Do not show the normally occurring error 713
This commit is contained in:
Thomas BERNARD 2024-01-04 02:53:55 +01:00 committed by GitHub
commit c6fc63ead0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,8 @@ static void ListRedirections(struct UPNPUrls * urls,
printf("%2hu %s %5s->%s:%-5s '%s' '%s' %s\n",
i, protocol, extPort, intClient, intPort,
desc, rHost, duration);
else if(r==713)
break;
else
printf("GetGenericPortMappingEntry() returned %d (%s)\n",
r, strupnperror(r));