diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index e72e0b817..7a06a54f6 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -3718,3 +3718,11 @@ bool p3ConnectMgr::getStunExtAddress(struct sockaddr_in &addr) { bool p3ConnectMgr::getExtFinderExtAddress(struct sockaddr_in &addr) { return (use_extr_addr_finder && mExtAddrFinder->hasValidIP(&addr)); } + +void peerConnectState::sortIpAdressList() { //Sort the ip list ordering by seen time +} + +void peerConnectState::purgeIpAdressList() {//purge old addresses to keep a small list +} +void peerConnectState::updateIpAdressList(IpAddressTimed ipTimed) { //purge old addresses to keep a small list +} diff --git a/libretroshare/src/pqi/p3connmgr.h b/libretroshare/src/pqi/p3connmgr.h index 5b868153a..009b6c3e1 100644 --- a/libretroshare/src/pqi/p3connmgr.h +++ b/libretroshare/src/pqi/p3connmgr.h @@ -141,6 +141,7 @@ class peerConnectState std::list ipAddressList; void sortIpAdressList(); //Sort the ip list ordering by seen time void purgeIpAdressList(); //purge old addresses to keep a small list + void updateIpAdressList(IpAddressTimed ipTimed); //purge old addresses to keep a small list //used to store current ip (for config and connection management) struct sockaddr_in currentlocaladdr; /* Mandatory */