mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed showmyip.org address from extaddrfinder
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4452 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d071cee94b
commit
cfd43e63cf
@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
const uint32_t MAX_IP_STORE = 300; /* seconds ip address timeout */
|
const uint32_t MAX_IP_STORE = 300; /* seconds ip address timeout */
|
||||||
|
|
||||||
|
#define EXTADDRSEARCH_DEBUG
|
||||||
|
|
||||||
static const std::string ADDR_AGENT = "Mozilla/5.0";
|
static const std::string ADDR_AGENT = "Mozilla/5.0";
|
||||||
|
|
||||||
static std::string scan_ip(const std::string& text)
|
static std::string scan_ip(const std::string& text)
|
||||||
@ -290,7 +292,6 @@ ExtAddrFinder::ExtAddrFinder() : _addrMtx("ExtAddrFinder")
|
|||||||
_addr = (in_addr*)malloc(sizeof(in_addr)) ;
|
_addr = (in_addr*)malloc(sizeof(in_addr)) ;
|
||||||
|
|
||||||
_ip_servers.push_back(std::string( "checkip.dyndns.org" )) ;
|
_ip_servers.push_back(std::string( "checkip.dyndns.org" )) ;
|
||||||
_ip_servers.push_back(std::string( "www.showmyip.com" )) ;
|
|
||||||
_ip_servers.push_back(std::string( "showip.net" )) ;
|
_ip_servers.push_back(std::string( "showip.net" )) ;
|
||||||
_ip_servers.push_back(std::string( "www.displaymyip.com")) ;
|
_ip_servers.push_back(std::string( "www.displaymyip.com")) ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user