Browse Source

precise bandwidth limit

pull/1640/head
orignal 4 years ago
parent
commit
876375f2c3
  1. 1
      libi2pd/RouterContext.cpp

1
libi2pd/RouterContext.cpp

@ -388,6 +388,7 @@ namespace i2p
else if (limit > 48) { SetBandwidth('M'); } else if (limit > 48) { SetBandwidth('M'); }
else if (limit > 12) { SetBandwidth('L'); } else if (limit > 12) { SetBandwidth('L'); }
else { SetBandwidth('K'); } else { SetBandwidth('K'); }
m_BandwidthLimit = limit; // set precise limit
} }
void RouterContext::SetShareRatio (int percents) void RouterContext::SetShareRatio (int percents)

Loading…
Cancel
Save