fw: localhop scope restriction in BestRouteStrategy2
localhop scope rules are implemented as wouldViolateScope function;
the old violatesScope function is now deprecated.
Strategy::sendInterest overload without specific Interest packet is also
deprecated. BestRouteStrategy2 has switched to use the new overload.
refs #3841, #1756
Change-Id: Ic117f01926eadddf1da3ccb580b52a3903a70c89
diff --git a/daemon/fw/strategy.hpp b/daemon/fw/strategy.hpp
index bb5b6ef..4346e78 100644
--- a/daemon/fw/strategy.hpp
+++ b/daemon/fw/strategy.hpp
@@ -145,10 +145,12 @@
* \param outFace face through which to send out the Interest
* \param wantNewNonce if true, a new Nonce will be generated,
* rather than reusing a Nonce from one of the PIT in-records
+ * \deprecated use sendInterest(pitEntry, outFace, interest) instead
*/
+ DEPRECATED(
void
sendInterest(const shared_ptr<pit::Entry>& pitEntry, Face& outFace,
- bool wantNewNonce = false);
+ bool wantNewNonce = false));
/** \brief decide that a pending Interest cannot be forwarded
* \param pitEntry PIT entry