nlsr: Pass keyChain to NLSR constructor
refs: #3742
Change-Id: I186784da2989aa8bcc396c81c4fc80254a6f313a
diff --git a/src/nlsr.cpp b/src/nlsr.cpp
index fbd067b..6083fc5 100644
--- a/src/nlsr.cpp
+++ b/src/nlsr.cpp
@@ -39,9 +39,10 @@
using namespace ndn;
using namespace std;
-Nlsr::Nlsr(boost::asio::io_service& ioService, ndn::Scheduler& scheduler, ndn::Face& face)
+Nlsr::Nlsr(boost::asio::io_service& ioService, ndn::Scheduler& scheduler, ndn::Face& face, ndn::KeyChain& keyChain)
: m_nlsrFace(face)
, m_scheduler(scheduler)
+ , m_keyChain(keyChain)
, m_confParam()
, m_adjacencyList()
, m_namePrefixList()