mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
first commit, change some members name from localaddr to currentlocaladdr, and add ip lists in the classes. Not used yet to connect or exchange
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1804 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a444484734
commit
00361c22a5
12 changed files with 156 additions and 115 deletions
|
@ -179,7 +179,7 @@ int pqipersongrp::init_listener()
|
|||
mConnMgr->getOwnNetStatus(state);
|
||||
|
||||
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
|
||||
pqil = createListener(state.localaddr);
|
||||
pqil = createListener(state.currentlocaladdr);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ int pqipersongrp::restart_listener()
|
|||
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
|
||||
|
||||
pqil -> resetlisten();
|
||||
pqil -> setListenAddr(state.localaddr);
|
||||
pqil -> setListenAddr(state.currentlocaladdr);
|
||||
pqil -> setuplisten();
|
||||
|
||||
std::cerr << "pqipersongrp::restart_listener() done!" << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue