src: schedule sync interest on NoRoute NACK

refs #5012

Change-Id: I671b507c66e1957aae976c859e81591c93dc4d94
diff --git a/src/logic.hpp b/src/logic.hpp
index 408e164..b363e9d 100644
--- a/src/logic.hpp
+++ b/src/logic.hpp
@@ -292,6 +292,18 @@
   onResetData(const Interest& interest, const Data& data);
 
   /**
+   * @brief Callback to handle Sync Interest Nack
+   *
+   * This method checks whether the Nack is of type NoRoute
+   * and schedules a sync interest in m_reexpressionJitter
+   *
+   * @param interest The sync interest for which the Nack happened
+   * @param nack The incoming Nack
+   */
+  void
+  onSyncNack(const Interest& interest, const ndn::lp::Nack& nack);
+
+  /**
    * @brief Callback to handle Sync Interest timeout.
    *
    * This method does nothing, since Logic per se handles timeout explicitly.