Bump miniupnpc version to 1.9.20151026
This commit is contained in:
parent
6df51c97d0
commit
acc28458c6
@ -1,8 +1,8 @@
|
|||||||
package=miniupnpc
|
package=miniupnpc
|
||||||
$(package)_version=1.9.20140701
|
$(package)_version=1.9.20151026
|
||||||
$(package)_download_path=http://miniupnp.free.fr/files
|
$(package)_download_path=http://miniupnp.free.fr/files
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=26f3985bad7768b8483b793448ae49414cdc4451d0ec83e7c1944367e15f9f07
|
$(package)_sha256_hash=f3cf9a5a31588a917d4d9237e5bc50f84d00c5aa48e27ed50d9b88dfa6a25d47
|
||||||
|
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
$(package)_build_opts=CC="$($(package)_cc)"
|
$(package)_build_opts=CC="$($(package)_cc)"
|
||||||
|
@ -1050,10 +1050,14 @@ void ThreadMapPort()
|
|||||||
#ifndef UPNPDISCOVER_SUCCESS
|
#ifndef UPNPDISCOVER_SUCCESS
|
||||||
/* miniupnpc 1.5 */
|
/* miniupnpc 1.5 */
|
||||||
devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
|
devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
|
||||||
#else
|
#elif MINIUPNPC_API_VERSION < 14
|
||||||
/* miniupnpc 1.6 */
|
/* miniupnpc 1.6 */
|
||||||
int error = 0;
|
int error = 0;
|
||||||
devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
|
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
|
#endif
|
||||||
|
|
||||||
struct UPNPUrls urls;
|
struct UPNPUrls urls;
|
||||||
|
Loading…
Reference in New Issue
Block a user