miniupnpd/pcpserver.c: ext_port field was not set in the (IPv6) firewall reply packet. Now setting it to int_port.
This commit is contained in:
parent
3eb71223b4
commit
5aaac2c6f5
|
@ -1020,6 +1020,7 @@ static int CreatePCPMap_FW(pcp_info_t *pcp_msg_info)
|
||||||
&uid);
|
&uid);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return PCP_ERR_NO_RESOURCES;
|
return PCP_ERR_NO_RESOURCES;
|
||||||
|
pcp_msg_info->ext_port = pcp_msg_info->int_port;
|
||||||
return PCP_SUCCESS;
|
return PCP_SUCCESS;
|
||||||
#else
|
#else
|
||||||
return PCP_ERR_NO_RESOURCES;
|
return PCP_ERR_NO_RESOURCES;
|
||||||
|
|
Loading…
Reference in New Issue