diff --git a/libretroshare/src/pqi/p3dhtmgr.cc b/libretroshare/src/pqi/p3dhtmgr.cc index c1d929c94..f5435bcde 100644 --- a/libretroshare/src/pqi/p3dhtmgr.cc +++ b/libretroshare/src/pqi/p3dhtmgr.cc @@ -365,8 +365,8 @@ bool p3DhtMgr::notifyPeer(const RsPeerId& id) /* extract current peer status */ bool p3DhtMgr::getPeerStatus(const RsPeerId &id, - struct sockaddr_in &laddr, - struct sockaddr_in &raddr, + struct sockaddr_storage &laddr, + struct sockaddr_storage &raddr, uint32_t &type, uint32_t &state) { RsStackMutex stack(dhtMtx); /* LOCK MUTEX */ diff --git a/libretroshare/src/pqi/p3dhtmgr.h b/libretroshare/src/pqi/p3dhtmgr.h index 86d6b5424..da36df5b2 100644 --- a/libretroshare/src/pqi/p3dhtmgr.h +++ b/libretroshare/src/pqi/p3dhtmgr.h @@ -129,7 +129,7 @@ virtual bool notifyPeer(const RsPeerId& id); /* extract current peer status */ virtual bool getPeerStatus(const RsPeerId& id, - struct sockaddr_in &laddr, struct sockaddr_in &raddr, + struct sockaddr_storage &laddr, struct sockaddr_storage &raddr, uint32_t &type, uint32_t &mode); /* stun */