mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
removed debug info and unused code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4f80b2557e
commit
ac26433450
@ -73,11 +73,6 @@ const uint32_t PEER_IP_CONNECT_STATE_MAX_LIST_SIZE = 4;
|
||||
* #define CONN_DEBUG_TICK 1
|
||||
***/
|
||||
|
||||
#define CONN_DEBUG 1
|
||||
#define CONN_DEBUG_RESET 1
|
||||
#define CONN_DEBUG_TICK 1
|
||||
#define CONN_DEBUG_RESET 1
|
||||
|
||||
/****
|
||||
* #define P3CONNMGR_NO_TCP_CONNECTIONS 1
|
||||
***/
|
||||
@ -2594,8 +2589,8 @@ bool p3ConnectMgr::locked_CheckPotentialAddr(struct sockaddr_in *addr, time_t a
|
||||
}
|
||||
|
||||
bool isValid = isValidNet(&(addr->sin_addr));
|
||||
bool isLoopback = isLoopbackNet(&(addr->sin_addr));
|
||||
bool isPrivate = isPrivateNet(&(addr->sin_addr));
|
||||
// bool isLoopback = isLoopbackNet(&(addr->sin_addr));
|
||||
// bool isPrivate = isPrivateNet(&(addr->sin_addr));
|
||||
bool isExternal = isExternalNet(&(addr->sin_addr));
|
||||
|
||||
/* if invalid - quick rejection */
|
||||
|
Loading…
Reference in New Issue
Block a user