From ea69474873a499fff359c73c3f958f43d7406811 Mon Sep 17 00:00:00 2001 From: Sibi Prabakaran Date: Mon, 29 Jul 2019 22:49:07 +0530 Subject: [PATCH] Fix error code for 708 According to the specification http://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v2-Service.pdf, the 708 error code corresponds to InvalidLayer2Address. Also WildcardNotPermittedInSrcIP is for 715 which is already properly mapped. --- miniupnpc/upnperrors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpc/upnperrors.c b/miniupnpc/upnperrors.c index 650af42..f20915f 100644 --- a/miniupnpc/upnperrors.c +++ b/miniupnpc/upnperrors.c @@ -71,7 +71,7 @@ const char * strupnperror(int err) s = "ProtocolWildcardingNotAllowed"; break; case 708: - s = "WildcardNotPermittedInSrcIP"; + s = "InvalidLayer2Address"; break; case 709: s = "NoPacketSent";