comm: Fix sync update prefix initialization
refs: #2399
Change-Id: I35c454e46c0b9552dba2a38b674d1ad3629f8bef
diff --git a/src/nlsr.cpp b/src/nlsr.cpp
index 19bb3cf..cf26a7b 100644
--- a/src/nlsr.cpp
+++ b/src/nlsr.cpp
@@ -128,7 +128,10 @@
m_fib.setEntryRefreshTime(2 * m_confParam.getLsaRefreshTime());
m_sequencingManager.setSeqFileName(m_confParam.getSeqFileDir());
m_sequencingManager.initiateSeqNoFromFile();
+
m_syncLogicHandler.setSyncPrefix(m_confParam.getChronosyncPrefix().toUri());
+ m_syncLogicHandler.buildUpdatePrefix();
+
/* Logging start */
m_confParam.writeLog();
m_adjacencyList.writeLog();