From 70c947ba901506aa566768de8e300846b823605a Mon Sep 17 00:00:00 2001 From: drbob Date: Sat, 28 Sep 2013 02:42:59 +0000 Subject: [PATCH] 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 --- libretroshare/src/upnp/upnphandler_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/upnp/upnphandler_linux.cc b/libretroshare/src/upnp/upnphandler_linux.cc index f252d03f9..4cec21bac 100644 --- a/libretroshare/src/upnp/upnphandler_linux.cc +++ b/libretroshare/src/upnp/upnphandler_linux.cc @@ -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); {