miniupnpd: Added patch to fix IPv6 firewall PCP ext_port handling (not yet in upstream).
This commit is contained in:
parent
6c4438c93b
commit
e58c0555a1
1 changed files with 12 additions and 0 deletions
12
miniupnpd/patches/102-ipv6-ext-port.patch
Normal file
12
miniupnpd/patches/102-ipv6-ext-port.patch
Normal file
|
@ -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;
|
Loading…
Reference in a new issue