src: set best-route strategy for certificate prefixes
refs: #4881
Change-Id: I655c261233e478bf01ff298b74af5eb62a33ffaf
diff --git a/src/route/fib.cpp b/src/route/fib.cpp
index 5966108..7d08e12 100644
--- a/src/route/fib.cpp
+++ b/src/route/fib.cpp
@@ -34,6 +34,8 @@
INIT_LOGGER(route.Fib);
const uint64_t Fib::GRACE_PERIOD = 10;
+const std::string Fib::MULTICAST_STRATEGY("ndn:/localhost/nfd/strategy/multicast");
+const std::string Fib::BEST_ROUTE_V2_STRATEGY("ndn:/localhost/nfd/strategy/best-route");
Fib::Fib(ndn::Face& face, ndn::Scheduler& scheduler, AdjacencyList& adjacencyList,
ConfParameter& conf, ndn::security::v2::KeyChain& keyChain)
diff --git a/src/route/fib.hpp b/src/route/fib.hpp
index 2d4f47f..f2d952a 100644
--- a/src/route/fib.hpp
+++ b/src/route/fib.hpp
@@ -237,6 +237,10 @@
void
refreshEntry(const ndn::Name& name, afterRefreshCallback refreshCb);
+public:
+ static const std::string MULTICAST_STRATEGY;
+ static const std::string BEST_ROUTE_V2_STRATEGY;
+
private:
ndn::Scheduler& m_scheduler;
int32_t m_refreshTime;