comm: Make SyncLogic responsible for update prefix

refs: #2289

Change-Id: I7687e36c88853bdf58de654b1ca280662a826b4b
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index 60728fd..e332808 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -75,7 +75,7 @@
     , m_sequencingManager()
     , m_isDaemonProcess(false)
     , m_configFileName("nlsr.conf")
-    , m_nlsrLsdb(*this, scheduler)
+    , m_nlsrLsdb(*this, scheduler, m_syncLogicHandler)
     , m_adjBuildCount(0)
     , m_isBuildAdjLsaSheduled(false)
     , m_isRouteCalculationScheduled(false)
@@ -83,7 +83,7 @@
     , m_routingTable(scheduler)
     , m_fib(m_nlsrFace, scheduler, m_adjacencyList, m_confParam, m_keyChain)
     , m_namePrefixTable(*this)
-    , m_syncLogicHandler(m_nlsrFace, m_nlsrLsdb, m_confParam)
+    , m_syncLogicHandler(m_nlsrFace, m_nlsrLsdb, m_confParam, m_sequencingManager)
     , m_helloProtocol(*this, scheduler)
     , m_certificateCache(new ndn::CertificateCacheTtl(ioService))
     , m_validator(m_nlsrFace, DEFAULT_BROADCAST_PREFIX, m_certificateCache)