commit | 6f95e7001feced2a67a4ad09c6c80717686c2351 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Oct 31 16:27:31 2012 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Oct 31 16:27:31 2012 -0700 |
tree | 2c27e0be648d6e736fadd1bd6c160367b6e63907 | |
parent | f5c0774e10a3281b62af661a84d539d68c66655d [diff] [blame] |
limits: one more update and small interface changes
diff --git a/helper/ndn-stack-helper.cc b/helper/ndn-stack-helper.cc index 9c29bf9..5dade78 100644 --- a/helper/ndn-stack-helper.cc +++ b/helper/ndn-stack-helper.cc
@@ -279,7 +279,7 @@ NS_LOG_INFO ("MaxLimit: " << (int)(m_avgRtt.ToDouble (Time::S) * maxInterestPackets)); // Set max to BDP - limits->SetMaxLimit (m_avgRtt.ToDouble (Time::S) * maxInterestPackets); + limits->SetLimits (maxInterestPackets, m_avgRtt.ToDouble (Time::S)); } }