added interface to get statistics about GxsNetTunnel

This commit is contained in:
csoler 2018-07-15 11:14:58 +02:00
parent 0c45217fc0
commit fd45d44826
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
4 changed files with 20 additions and 51 deletions

View file

@ -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