fib: don't refresh neighbor router's FIB entry (it is already installed w/ expiry=never)
refs: #4799
Change-Id: Ib55687655ccd8673eeae14d8418e458ad8ab00aa
diff --git a/src/route/fib.hpp b/src/route/fib.hpp
index 32c656d..012d61d 100644
--- a/src/route/fib.hpp
+++ b/src/route/fib.hpp
@@ -53,15 +53,8 @@
class Fib
{
public:
- Fib(ndn::Face& face, ndn::Scheduler& scheduler, AdjacencyList& adjacencyList, ConfParameter& conf,
- ndn::security::v2::KeyChain& keyChain)
- : m_scheduler(scheduler)
- , m_refreshTime(0)
- , m_controller(face, keyChain)
- , m_adjacencyList(adjacencyList)
- , m_confParameter(conf)
- {
- }
+ Fib(ndn::Face& face, ndn::Scheduler& scheduler, AdjacencyList& adjacencyList,
+ ConfParameter& conf, ndn::security::v2::KeyChain& keyChain);
/*! \brief Completely remove a name prefix from the FIB.
*
@@ -148,7 +141,7 @@
* \return Whether the name is NOT associated with a direct neighbor
*/
bool
- isPrefixUpdatable(const ndn::Name& name);
+ isNotNeighbor(const ndn::Name& name);
/*! \brief Does one half of the updating of a FibEntry with new next-hops.
*