diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-11-23 17:38:36 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2024-11-23 22:23:07 +0000 |
commit | fe06d8ae6ef5da38a917a05ca70d7fd223d2068d (patch) | |
tree | 586dd14804e85642c6640f208c3c3c63e9cec0da /net-vpn | |
parent | net-proxy/squid: remove unused file (diff) | |
download | gentoo-fe06d8ae6ef5da38a917a05ca70d7fd223d2068d.tar.gz gentoo-fe06d8ae6ef5da38a917a05ca70d7fd223d2068d.tar.bz2 gentoo-fe06d8ae6ef5da38a917a05ca70d7fd223d2068d.zip |
net-vpn/i2pd: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/39432
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch b/net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch deleted file mode 100644 index 5c9ef9231351..000000000000 --- a/net-vpn/i2pd/files/i2pd-2.52.0-miniupnp.patch +++ /dev/null @@ -1,37 +0,0 @@ -commit 192e9ad7f6a6995ecb843fbbefe5425d0b37f6ee -Author: Stefan Strogin <stefan@steils.org> -Date: Mon Jun 17 17:10:23 2024 +0000 - - Support miniupnp-2.2.8 (fixes #2071) - - Use UPNP_GetValidIGD for getting external IP. - -diff --git a/daemon/UPnP.cpp b/daemon/UPnP.cpp -index 043d935e..7885578e 100644 ---- a/daemon/UPnP.cpp -+++ b/daemon/UPnP.cpp -@@ -115,10 +115,16 @@ namespace transport - return; - } - -+#if (MINIUPNPC_API_VERSION >= 18) -+ err = UPNP_GetValidIGD (m_Devlist, &m_upnpUrls, &m_upnpData, m_NetworkAddr, sizeof (m_NetworkAddr), -+ m_externalIPAddress, sizeof (m_externalIPAddress)); -+#else - err = UPNP_GetValidIGD (m_Devlist, &m_upnpUrls, &m_upnpData, m_NetworkAddr, sizeof (m_NetworkAddr)); -+#endif - m_upnpUrlsInitialized=err!=0; - if (err == UPNP_IGD_VALID_CONNECTED) - { -+#if (MINIUPNPC_API_VERSION < 18) - err = UPNP_GetExternalIPAddress (m_upnpUrls.controlURL, m_upnpData.first.servicetype, m_externalIPAddress); - if(err != UPNPCOMMAND_SUCCESS) - { -@@ -126,6 +132,7 @@ namespace transport - return; - } - else -+#endif - { - LogPrint (eLogError, "UPnP: Found Internet Gateway Device ", m_upnpUrls.controlURL); - if (!m_externalIPAddress[0]) |