mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
dummy implementation of the peerConnectState ipAddressList methods
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1808 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f85adf7c25
commit
864c504eb4
@ -3718,3 +3718,11 @@ bool p3ConnectMgr::getStunExtAddress(struct sockaddr_in &addr) {
|
|||||||
bool p3ConnectMgr::getExtFinderExtAddress(struct sockaddr_in &addr) {
|
bool p3ConnectMgr::getExtFinderExtAddress(struct sockaddr_in &addr) {
|
||||||
return (use_extr_addr_finder && mExtAddrFinder->hasValidIP(&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
|
||||||
|
}
|
||||||
|
@ -141,6 +141,7 @@ class peerConnectState
|
|||||||
std::list<IpAddressTimed> ipAddressList;
|
std::list<IpAddressTimed> ipAddressList;
|
||||||
void sortIpAdressList(); //Sort the ip list ordering by seen time
|
void sortIpAdressList(); //Sort the ip list ordering by seen time
|
||||||
void purgeIpAdressList(); //purge old addresses to keep a small list
|
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)
|
//used to store current ip (for config and connection management)
|
||||||
struct sockaddr_in currentlocaladdr; /* Mandatory */
|
struct sockaddr_in currentlocaladdr; /* Mandatory */
|
||||||
|
Loading…
Reference in New Issue
Block a user