alephone/alephone-1.8.1.20240513-miniupnpc-2.2.8.patch

12 lines
530 B
Diff

--- AlephOne-20240513/Source_Files/Network/PortForward.cpp.orig 2024-06-26 20:24:15.521431060 +0200
+++ AlephOne-20240513/Source_Files/Network/PortForward.cpp 2024-06-26 20:24:38.340487716 +0200
@@ -24,7 +24,7 @@
char lanaddr[64];
- auto igd_found = UPNP_GetValidIGD(devlist.get(), &urls_, &data_, lanaddr, sizeof(lanaddr));
+ auto igd_found = UPNP_GetValidIGD(devlist.get(), &urls_, &data_, lanaddr, sizeof(lanaddr), lanaddr, sizeof(lanaddr));
if (!igd_found)
{
throw PortForwardException("Failed to discover IGD");