route: Replace deprecated nfd::Controller(Face&)
refs: #2133
Change-Id: Ie369f50a6a2f9101dda3ec0b28a3f2705c24cde8
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index de6f061..60728fd 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -81,7 +81,7 @@
, m_isRouteCalculationScheduled(false)
, m_isRoutingTableCalculating(false)
, m_routingTable(scheduler)
- , m_fib(m_nlsrFace, scheduler, m_adjacencyList, m_confParam)
+ , m_fib(m_nlsrFace, scheduler, m_adjacencyList, m_confParam, m_keyChain)
, m_namePrefixTable(*this)
, m_syncLogicHandler(m_nlsrFace, m_nlsrLsdb, m_confParam)
, m_helloProtocol(*this, scheduler)
diff --git a/src/route/fib.hpp b/src/route/fib.hpp
index d1737d2..f5f77ed 100644
--- a/src/route/fib.hpp
+++ b/src/route/fib.hpp
@@ -44,11 +44,12 @@
class Fib
{
public:
- Fib(ndn::Face& face, ndn::Scheduler& scheduler, AdjacencyList& adjacencyList, ConfParameter& conf)
+ Fib(ndn::Face& face, ndn::Scheduler& scheduler, AdjacencyList& adjacencyList, ConfParameter& conf,
+ ndn::KeyChain& keyChain)
: m_scheduler(scheduler)
, m_table()
, m_refreshTime(0)
- , m_controller(face)
+ , m_controller(face, keyChain)
, m_faceController(face.getIoService(), m_controller)
, m_faceMap()
, m_adjacencyList(adjacencyList)