summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Stenberg2014-06-02 16:52:32 +0000
committerMarkus Stenberg2014-06-02 16:52:32 +0000
commite58c0555a1fbc37273c89a504ba7a1363089b671 (patch)
treed9ae320c3cccda1d46eb2de666cb306e66a1fb50
parent6c4438c93bdcd2042bb1ee07c7ebca3b1ce226a8 (diff)
downloadrouting-e58c0555a1fbc37273c89a504ba7a1363089b671.tar.gz
miniupnpd: Added patch to fix IPv6 firewall PCP ext_port handling (not yet in upstream).
-rw-r--r--miniupnpd/patches/102-ipv6-ext-port.patch12
1 files changed, 12 insertions, 0 deletions
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;