12 lines
740 B
Diff
12 lines
740 B
Diff
--- transmission-4.0.6/libtransmission/port-forwarding-upnp.cc.orig 2024-06-26 21:30:48.914014308 +0200
|
|
+++ transmission-4.0.6/libtransmission/port-forwarding-upnp.cc 2024-06-26 21:25:58.681222830 +0200
|
|
@@ -275,7 +275,7 @@
|
|
|
|
FreeUPNPUrls(&handle->urls);
|
|
auto lanaddr = std::array<char, TR_ADDRSTRLEN>{};
|
|
- if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) ==
|
|
+ if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1, NULL, 0) ==
|
|
UPNP_IGD_VALID_CONNECTED)
|
|
{
|
|
tr_logAddInfo(fmt::format(_("Found Internet Gateway Device '{url}'"), fmt::arg("url", handle->urls.controlURL)));
|