From 5aaac2c6f5343d9dea02a5b6dee3bba5e69f2c1f Mon Sep 17 00:00:00 2001 From: Markus Stenberg Date: Mon, 2 Jun 2014 19:39:06 +0300 Subject: [PATCH] miniupnpd/pcpserver.c: ext_port field was not set in the (IPv6) firewall reply packet. Now setting it to int_port. --- miniupnpd/pcpserver.c | 1 + 1 file changed, 1 insertion(+) 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;