mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
fix for upnp use of sockaddr_storage
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@6772 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
72c7569619
commit
70c947ba90
@ -182,7 +182,7 @@ bool upnphandler::start_upnp()
|
|||||||
bool res = cUPnPControlPoint->AddPortMappings(upnpPortMapping1);
|
bool res = cUPnPControlPoint->AddPortMappings(upnpPortMapping1);
|
||||||
bool res2 = cUPnPControlPoint->AddPortMappings(upnpPortMapping2);
|
bool res2 = cUPnPControlPoint->AddPortMappings(upnpPortMapping2);
|
||||||
|
|
||||||
struct sockaddr_in extAddr;
|
struct sockaddr_storage extAddr;
|
||||||
bool extAddrResult = getExternalAddress(extAddr);
|
bool extAddrResult = getExternalAddress(extAddr);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user