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
This commit is contained in:
csoler 2009-09-04 20:31:25 +00:00
parent 82f33acf6f
commit 26db7ada52
2 changed files with 1 additions and 6 deletions

View File

@ -1553,11 +1553,6 @@ int pqissl::isactive()
return active; return active;
} }
bool pqissl::bandwidthLimited()
{
return (!sameLAN);
}
bool pqissl::moretoread() bool pqissl::moretoread()
{ {
{ {

View File

@ -120,7 +120,7 @@ virtual bool cansend();
virtual int close(); /* BinInterface version of reset() */ virtual int close(); /* BinInterface version of reset() */
virtual std::string gethash(); /* not used here */ 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: protected:
// A little bit of information to describe // A little bit of information to describe