diff --git a/miniupnpd/pcpserver.c b/miniupnpd/pcpserver.c index dec4b58..3cdf460 100644 --- a/miniupnpd/pcpserver.c +++ b/miniupnpd/pcpserver.c @@ -1020,6 +1020,7 @@ static int CreatePCPMap_FW(pcp_info_t *pcp_msg_info) &uid); if (r < 0) return PCP_ERR_NO_RESOURCES; + pcp_msg_info->ext_port = pcp_msg_info->int_port; return PCP_SUCCESS; #else return PCP_ERR_NO_RESOURCES;