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:
drbob 2013-09-28 02:42:59 +00:00
parent 72c7569619
commit 70c947ba90

View File

@ -182,7 +182,7 @@ bool upnphandler::start_upnp()
bool res = cUPnPControlPoint->AddPortMappings(upnpPortMapping1);
bool res2 = cUPnPControlPoint->AddPortMappings(upnpPortMapping2);
struct sockaddr_in extAddr;
struct sockaddr_storage extAddr;
bool extAddrResult = getExternalAddress(extAddr);
{