Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 896742 Details for
Bug 935160
[guru] net-p2p/monero-0.18.3.3 fails to compile: net_node.inl:2992:30: error: too few arguments to function int UPNP_GetValidIGD(UPNPDev, UPNPUrls, IGDdatas, char, int, char, int)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
monero-18.3.3-miniupnp-api-18-rev1.patch
file_935160.txt (text/plain), 1.11 KB, created by
benoit.dufour
on 2024-07-01 23:13:29 UTC
(
hide
)
Description:
monero-18.3.3-miniupnp-api-18-rev1.patch
Filename:
MIME Type:
Creator:
benoit.dufour
Created:
2024-07-01 23:13:29 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl >index 30e3d31b9..c49783e1c 100644 >--- a/src/p2p/net_node.inl >+++ b/src/p2p/net_node.inl >@@ -2989,7 +2989,12 @@ namespace nodetool > UPNPUrls urls; > IGDdatas igdData; > char lanAddress[64]; >+#if MINIUPNPC_API_VERSION > 17 >+ char wanAddress[64]; >+ result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress, wanAddress, sizeof(wanAddress)); >+#else > result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress); >+#endif > freeUPNPDevlist(deviceList); > if (result > 0) { > if (result == 1) { >@@ -3057,7 +3062,12 @@ namespace nodetool > UPNPUrls urls; > IGDdatas igdData; > char lanAddress[64]; >+#if MINIUPNPC_API_VERSION > 17 >+ char wanAddress[64]; >+ result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress, wanAddress, sizeof(wanAddress)); >+#else > result = UPNP_GetValidIGD(deviceList, &urls, &igdData, lanAddress, sizeof lanAddress); >+#endif > freeUPNPDevlist(deviceList); > if (result > 0) { > if (result == 1) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 935160
:
896644
|
896739
| 896742