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));
             }
         }