fix a bug when connected through a tunnel

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1895 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-12-17 22:21:51 +00:00
parent e5cd917645
commit 00edab16d9

View File

@ -2200,7 +2200,7 @@ bool p3ConnectMgr::retryConnectTCP(std::string id)
#ifdef CONN_DEBUG
std::cerr << "p3ConnectMgr::retryConnectTCP() Peer Already Connected" << std::endl;
#endif
if (it->second.currentConnAddrAttempt.type & RS_NET_CONN_TUNNEL) {
if (it->second.connecttype & RS_NET_CONN_TUNNEL) {
#ifdef CONN_DEBUG
std::cerr << "p3ConnectMgr::retryConnectTCP() Peer Connected through a tunnel connection, let's try a normal connection." << std::endl;
#endif