From 26db7ada52fd036d53714f69069e26817526ccc8 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 4 Sep 2009 20:31:25 +0000 Subject: [PATCH] restored accounting for LAN transfer rates. See also trac ticket #60 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1592 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/pqissl.cc | 5 ----- libretroshare/src/pqi/pqissl.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libretroshare/src/pqi/pqissl.cc b/libretroshare/src/pqi/pqissl.cc index 3168bc416..57d2e81f4 100644 --- a/libretroshare/src/pqi/pqissl.cc +++ b/libretroshare/src/pqi/pqissl.cc @@ -1553,11 +1553,6 @@ int pqissl::isactive() return active; } -bool pqissl::bandwidthLimited() -{ - return (!sameLAN); -} - bool pqissl::moretoread() { { diff --git a/libretroshare/src/pqi/pqissl.h b/libretroshare/src/pqi/pqissl.h index 6154f8b5a..485e8b092 100644 --- a/libretroshare/src/pqi/pqissl.h +++ b/libretroshare/src/pqi/pqissl.h @@ -120,7 +120,7 @@ virtual bool cansend(); virtual int close(); /* BinInterface version of reset() */ virtual std::string gethash(); /* not used here */ -virtual bool bandwidthLimited(); +virtual bool bandwidthLimited() { return true ; } // replace by !sameLAN to avoid bandwidth limiting on lAN protected: // A little bit of information to describe