route: Replace deprecated nfd::Controller(Face&)
refs: #2133
Change-Id: Ie369f50a6a2f9101dda3ec0b28a3f2705c24cde8
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)