From e0dcca8d13c3346d0f4abbbf308bdf00072b375c Mon Sep 17 00:00:00 2001 From: drbob Date: Wed, 11 Jan 2012 00:24:29 +0000 Subject: [PATCH] * Made NetworkStats() return false - as zeroconf cannot provide these (avoids the invalid 2.7G message) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4778 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/zeroconf/p3zeroconf.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libretroshare/src/zeroconf/p3zeroconf.cc b/libretroshare/src/zeroconf/p3zeroconf.cc index 16fd84ac0..552643e36 100644 --- a/libretroshare/src/zeroconf/p3zeroconf.cc +++ b/libretroshare/src/zeroconf/p3zeroconf.cc @@ -124,9 +124,7 @@ bool p3ZeroConf::getActive() bool p3ZeroConf::getNetworkStats(uint32_t &netsize, uint32_t &localnetsize) { - //netsize = mUdpBitDht->statsNetworkSize(); - //localnetsize = mUdpBitDht->statsBDVersionSize(); - return true; + return false; // Cannot provide Network Stats. } void p3ZeroConf::createTxtRecord()