upnpc: Do not show the normally occurring error 713
SpecifiedArrayIndexInvalid when listing port mappings with -l.
This commit is contained in:
parent
5380a08693
commit
847380967c
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue