utils: Adding option to obtain the value of the current limit in ndn::Limits
diff --git a/utils/ndn-limits.h b/utils/ndn-limits.h
index ed559c6..181059a 100644
--- a/utils/ndn-limits.h
+++ b/utils/ndn-limits.h
@@ -80,6 +80,12 @@
   void
   UpdateCurrentLimit (double limit);
 
+  double
+  GetCurrentLimit () const
+  {
+    return m_curMaxLimit;
+  }
+
   ////////////////////////////////////////////////////////////////////////////
   ////////////////////////////////////////////////////////////////////////////
   ////////////////////////////////////////////////////////////////////////////