mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
13 lines
432 B
Diff
13 lines
432 B
Diff
API changed in miniupnpc 2.2.8
|
|
|
|
--- a/core/network/miniupnp.cpp
|
|
+++ b/core/network/miniupnp.cpp
|
|
@@ -38,7 +38,7 @@
|
|
INFO_LOG(MODEM, "UPnP discover failed: error %d", error);
|
|
return false;
|
|
}
|
|
- error = UPNP_GetValidIGD(devlist, &urls, &data, lanAddress, sizeof(lanAddress));
|
|
+ error = UPNP_GetValidIGD(devlist, &urls, &data, lanAddress, sizeof(lanAddress), nullptr, 0);
|
|
freeUPNPDevlist(devlist);
|
|
if (error != 1)
|
|
{
|