commit | 0ffa7167b7e06b81692c2c13d1faa74fdd337eb0 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Aug 21 22:39:22 2012 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Sep 04 00:00:50 2012 -0700 |
tree | 9cdf3908215f380d38c25253bd2293ba3a130227 | |
parent | 91e1128c51f29a8f9b15a322753d8ba074dcbdf3 [diff] [blame] |
One more checkpoint. Now the code seems to work in a basic scenario
diff --git a/utils/ndn-limits.cc b/utils/ndn-limits.cc index a14abb2..d53e370 100644 --- a/utils/ndn-limits.cc +++ b/utils/ndn-limits.cc
@@ -140,7 +140,7 @@ { if (!IsEnabled ()) return true; - if (m_curMaxLimit - m_outstanding > 1.0) + if (m_curMaxLimit - m_outstanding >= 1.0) { // static UniformVariable acceptanceProbability (0, m_curMaxLimit); // double value = acceptanceProbability.GetValue ();