limits: one more update and small interface changes
diff --git a/helper/ndn-global-routing-helper.cc b/helper/ndn-global-routing-helper.cc
index 7acf7d6..3d18042 100644
--- a/helper/ndn-global-routing-helper.cc
+++ b/helper/ndn-global-routing-helper.cc
@@ -288,7 +288,7 @@
                         limitsFactory.SetTypeId (limits->GetInstanceTypeId ());
 
                         Ptr<Limits> entryLimits = limitsFactory.Create<Limits> ();
-                        entryLimits->SetMaxLimit (limits->GetMaxLimit ());
+                        entryLimits->SetLimits (limits->GetMaxRate (), limits->GetMaxDelay ());
 
                         entry->AggregateObject (entryLimits);
                       }