fix error from commit 13585f15c7
This commit is contained in:
parent
cb8a02af7a
commit
86030db849
|
@ -1850,7 +1850,7 @@ GetOutboundPinholeTimeout(struct upnphttp * h, const char * action, const char *
|
||||||
rem_port = GetValueFromNameValueList(&data, "RemotePort");
|
rem_port = GetValueFromNameValueList(&data, "RemotePort");
|
||||||
protocol = GetValueFromNameValueList(&data, "Protocol");
|
protocol = GetValueFromNameValueList(&data, "Protocol");
|
||||||
|
|
||||||
if (!int_port || !ext_port || !protocol)
|
if (!int_port || !rem_port || !protocol)
|
||||||
{
|
{
|
||||||
ClearNameValueList(&data);
|
ClearNameValueList(&data);
|
||||||
SoapError(h, 402, "Invalid Args");
|
SoapError(h, 402, "Invalid Args");
|
||||||
|
|
Loading…
Reference in New Issue