From e58c0555a1fbc37273c89a504ba7a1363089b671 Mon Sep 17 00:00:00 2001 From: Markus Stenberg Date: Mon, 2 Jun 2014 19:52:32 +0300 Subject: [PATCH] miniupnpd: Added patch to fix IPv6 firewall PCP ext_port handling (not yet in upstream). --- miniupnpd/patches/102-ipv6-ext-port.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 miniupnpd/patches/102-ipv6-ext-port.patch diff --git a/miniupnpd/patches/102-ipv6-ext-port.patch b/miniupnpd/patches/102-ipv6-ext-port.patch new file mode 100644 index 0000000..d0c68ae --- /dev/null +++ b/miniupnpd/patches/102-ipv6-ext-port.patch @@ -0,0 +1,12 @@ +diff --git a/pcpserver.c b/pcpserver.c +index dec4b58..3cdf460 100644 +--- a/pcpserver.c ++++ b/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; -- 2.35.1