diff options
Diffstat (limited to 'upnp-1.9.patch')
-rw-r--r-- | upnp-1.9.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/upnp-1.9.patch b/upnp-1.9.patch deleted file mode 100644 index 42e6cf18e8d0..000000000000 --- a/upnp-1.9.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -Naur a/src/net.cpp b/src/net.cpp ---- a/src/net.cpp 2015-06-15 10:51:30.000000000 +0200 -+++ b/src/net.cpp 2015-10-03 16:15:10.441886309 +0200 -@@ -1020,10 +1020,14 @@ - #ifndef UPNPDISCOVER_SUCCESS - /* miniupnpc 1.5 */ - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0); --#else -+#elif MINIUPNPC_API_VERSION < 14 - /* miniupnpc 1.6 */ - int error = 0; - devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error); -+#else -+ /* miniupnpc 1.9.20150730 */ -+ int error = 0; -+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error); - #endif - - struct UPNPUrls urls; |