communication: fix dry-run mode not working
refs: #4394
Change-Id: I6b7eba5e36af307b9da6b5c198d44f9915db6358
diff --git a/src/communication/sync-logic-handler.cpp b/src/communication/sync-logic-handler.cpp
index ec8dca5..047b5d2 100644
--- a/src/communication/sync-logic-handler.cpp
+++ b/src/communication/sync-logic-handler.cpp
@@ -76,7 +76,11 @@
if (m_confParam.getHyperbolicState() == HYPERBOLIC_STATE_OFF) {
m_syncSocket->addSyncNode(m_adjLsaUserPrefix);
}
+ else if (m_confParam.getHyperbolicState() == HYPERBOLIC_STATE_ON) {
+ m_syncSocket->addSyncNode(m_coorLsaUserPrefix);
+ }
else {
+ m_syncSocket->addSyncNode(m_adjLsaUserPrefix);
m_syncSocket->addSyncNode(m_coorLsaUserPrefix);
}
}