mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
add the tunnel config to server tab, and activate the tunnel on fresh configs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2429 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3d33f5d729
commit
a228503d0e
@ -148,7 +148,7 @@ p3ConnectMgr::p3ConnectMgr()
|
||||
|
||||
//use_extr_addr_finder = true ;
|
||||
use_extr_addr_finder = false;
|
||||
allow_tunnel_connection = false;
|
||||
allow_tunnel_connection = true;
|
||||
mExtAddrFinder = new ExtAddrFinder;
|
||||
mNetInitTS = 0;
|
||||
|
||||
|
@ -53,10 +53,10 @@ ServerPage::ServerPage(QWidget * parent, Qt::WFlags flags)
|
||||
ui.allowIpDeterminationCB->setChecked(b) ;
|
||||
ui.IPServersLV->setEnabled(b) ;
|
||||
|
||||
#ifdef RS_RELEASE_VERSION
|
||||
ui.allowTunnelConnectionCB->hide();
|
||||
this->toggleTunnelConnection(false);
|
||||
#endif
|
||||
// #ifdef RS_RELEASE_VERSION
|
||||
// ui.allowTunnelConnectionCB->hide();
|
||||
// this->toggleTunnelConnection(false);
|
||||
// #endif
|
||||
b = rsPeers->getAllowTunnelConnection() ;
|
||||
ui.allowTunnelConnectionCB->setChecked(b) ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user