mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
added interface to get statistics about GxsNetTunnel
This commit is contained in:
parent
0c45217fc0
commit
fd45d44826
4 changed files with 20 additions and 51 deletions
|
@ -62,6 +62,7 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "gxstunnel/p3gxstunnel.h"
|
||||
#include "retroshare/rsgxsdistsync.h"
|
||||
#include "file_sharing/p3filelists.h"
|
||||
|
||||
#define ENABLE_GROUTER
|
||||
|
@ -1283,6 +1284,7 @@ int RsServer::StartupRetroShare()
|
|||
|
||||
#ifdef RS_USE_GXS_DISTANT_SYNC
|
||||
RsGxsNetTunnelService *mGxsNetTunnel = new RsGxsNetTunnelService ;
|
||||
rsGxsDistSync = mGxsNetTunnel ;
|
||||
#else
|
||||
RsGxsNetTunnelService *mGxsNetTunnel = NULL ;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue