From 86030db849260dd8fb2ed975b9890aef1b62b692 Mon Sep 17 00:00:00 2001
From: Thomas Bernard <miniupnp@free.fr>
Date: Tue, 18 Dec 2018 23:47:54 +0100
Subject: [PATCH] fix error from commit
13585f15c7f7dc28bbbba1661efb280d530d114c
---
miniupnpd/upnpsoap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/miniupnpd/upnpsoap.c b/miniupnpd/upnpsoap.c
index 997b3254..acd7fedf 100644
--- a/miniupnpd/upnpsoap.c
+++ b/miniupnpd/upnpsoap.c
@@ -1850,7 +1850,7 @@ GetOutboundPinholeTimeout(struct upnphttp * h, const char * action, const char *
rem_port = GetValueFromNameValueList(&data, "RemotePort");
protocol = GetValueFromNameValueList(&data, "Protocol");
- if (!int_port || !ext_port || !protocol)
+ if (!int_port || !rem_port || !protocol)
{
ClearNameValueList(&data);
SoapError(h, 402, "Invalid Args");