Skip to content
Snippets Groups Projects
Commit 5a73a522 authored by Alexey Dokuchaev's avatar Alexey Dokuchaev
Browse files

net/dante: unbreak the port's build (chase commit a270dbfa)

PR:		280298, 280304
Reported by:	Mark McBride, pkg-fallout
parent 00ad7930
No related branches found
No related tags found
No related merge requests found
--- lib/upnp.c.orig 2020-11-11 16:11:55 UTC
+++ lib/upnp.c
@@ -208,7 +208,11 @@ socks_initupnp(gw, emsg, emsglen)
socks_autoadd_directroute(&commands, &protocols, &saddr, &smask);
}
- devtype = UPNP_GetValidIGD(dev, &url, &data, myaddr, sizeof(myaddr));
+ devtype = UPNP_GetValidIGD(dev, &url, &data, myaddr, sizeof(myaddr)
+#if MINIUPNPC_API_VERSION > 17
+ , NULL, 0
+#endif
+ );
switch (devtype) {
case UPNP_NO_IGD:
snprintf(emsg, emsglen, "no UPNP IGD discovered on local network");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment