fix and complete error messages for errors 7xx

This commit is contained in:
Thomas Bernard 2023-06-27 01:12:36 +02:00
parent ad3a610748
commit 1865947a57

View File

@ -1,4 +1,4 @@
/* $Id: upnperrors.c,v 1.11 2023/05/29 21:59:15 nanard Exp $ */
/* $Id: upnperrors.c,v 1.12 2023/06/26 23:19:28 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* Project : miniupnp
* Author : Thomas BERNARD
@ -93,7 +93,7 @@ const char * strupnperror(int err)
s = "InvalidLayer2Address";
break;
case 709:
s = "NoPacketSent";
s = "NoTrafficReceived";
break;
case 713:
s = "SpecifiedArrayIndexInvalid";
@ -122,6 +122,24 @@ const char * strupnperror(int err)
case 727:
s = "ExternalPortOnlySupportsWildcard";
break;
case 728:
s = "NoPortMapsAvailable";
break;
case 729:
s = "ConflictWithOtherMechanisms";
break;
case 730:
s = "PortMappingNotFound";
break;
case 731:
s = "ReadOnly";
break;
case 732:
s = "WildCardNotPermittedInIntPort";
break;
case 733:
s = "InconsistentParameters";
break;
default:
s = "UnknownError";
break;