logic: initialize m_syncReset before using it
This commit also disables sending the reset interest upon
initialization of the Logic to preserve the previous behavior, where a
meaningless interest was sent out as a result of a bug.
Change-Id: Iec35d7745a0be06e768d4ae5f6afb8d867e590fc
diff --git a/src/logic.hpp b/src/logic.hpp
index fc7935f..408e164 100644
--- a/src/logic.hpp
+++ b/src/logic.hpp
@@ -169,10 +169,11 @@
* @param userPrefix prefix of the added node
* @param signingId signing Id of the added node
* @param session manually defined session ID
+ * @param shouldSendReset enable/disable sending the reset interest
*/
void
addUserNode(const Name& userPrefix, const Name& signingId = DEFAULT_NAME,
- const name::Component& session = name::Component());
+ const name::Component& session = name::Component(), bool shouldSendReset = true);
/// @brief remove the node from the local session
void