Compilation fixes after upgrade to NFD 0.6.6 and removal of old-style CS
Change-Id: I5472ae71675d8419d8d6c70990182ef028803087
diff --git a/helper/ndn-stack-helper.cpp b/helper/ndn-stack-helper.cpp
index 09f0d8c..cf60551 100644
--- a/helper/ndn-stack-helper.cpp
+++ b/helper/ndn-stack-helper.cpp
@@ -53,7 +53,6 @@
: m_isForwarderStatusManagerDisabled(false)
, m_isStrategyChoiceManagerDisabled(false)
, m_needSetDefaultRoutes(false)
- , m_maxCsSize(100)
{
setCustomNdnCxxClocks();
@@ -173,7 +172,7 @@
ndn->getConfig().put("ndnSIM.disable_strategy_choice_manager", true);
}
- ndn->getConfig().put("tables.cs_max_packets", (m_maxCsSize == 0) ? 1 : m_maxCsSize);
+ ndn->getConfig().put("tables.cs_max_packets", m_maxCsSize);
ndn->setCsReplacementPolicy(m_csPolicyCreationFunc);