summaryrefslogtreecommitdiff
blob: 1e952ad18b7d054db11660dfdaf3d991b82e2f16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: dante-1.4.1/lib/upnp.c
===================================================================
--- dante-1.4.1.orig/lib/upnp.c
+++ dante-1.4.1/lib/upnp.c
@@ -156,6 +156,9 @@ socks_initupnp(gw, emsg, emsglen)
                            0
 #if HAVE_LIBMINIUPNP17
                           ,0,
+#if MINIUPNPC_API_VERSION >= 14 /* adds ttl */
+                          2,
+#endif
                           &rc
 #endif /* HAVE_LIBMINIUPNP17 */
                          );