mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 14:52:28 -04:00
update miniupnp call
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.4.x@1478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7ef7379a4e
commit
55b693e43c
1 changed files with 2 additions and 1 deletions
|
@ -146,8 +146,9 @@ bool SetRedirectAndTest(struct UPNPUrls * urls,
|
||||||
r = UPNP_AddPortMapping(urls->controlURL, data->servicetype,
|
r = UPNP_AddPortMapping(urls->controlURL, data->servicetype,
|
||||||
eport, iport, iaddr, 0, proto);
|
eport, iport, iaddr, 0, proto);
|
||||||
#else
|
#else
|
||||||
|
/* The lease parameter is also gone in minupnpc 1.0 */
|
||||||
r = UPNP_AddPortMapping(urls->controlURL, data->servicetype,
|
r = UPNP_AddPortMapping(urls->controlURL, data->servicetype,
|
||||||
eport, iport, iaddr, 0, 0, proto);
|
eport, iport, iaddr, 0, proto);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// r = UPNP_AddPortMapping(urls->controlURL, data->servicetype,
|
// r = UPNP_AddPortMapping(urls->controlURL, data->servicetype,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue