comm: Create SyncSocket on initialization
refs: #2649
Change-Id: I9e5891b8ad5de9a6ff6ac4edab4bab1564a309c8
diff --git a/src/lsdb.cpp b/src/lsdb.cpp
index 1374906..c0fb765 100644
--- a/src/lsdb.cpp
+++ b/src/lsdb.cpp
@@ -597,17 +597,9 @@
m_nlsr.getSequencingManager().increaseAdjLsaSeq();
- bool isInstalled = installAdjLsa(adjLsa);
-
- // Delay Sync prefix registration until the first Adjacency LSA is built
- if (isInstalled && !m_hasSyncPrefixBeenRegistered) {
- m_nlsr.getSyncLogicHandler().createSyncSocket();
- m_hasSyncPrefixBeenRegistered = true;
- }
-
m_sync.publishRoutingUpdate();
- return isInstalled;
+ return installAdjLsa(adjLsa);
}
bool