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/name-prefix-table.cpp b/src/route/name-prefix-table.cpp
index 7fb9941..1c05c2c 100644
--- a/src/route/name-prefix-table.cpp
+++ b/src/route/name-prefix-table.cpp
@@ -117,13 +117,13 @@
}
else {
npte = *nameItr;
- NLSR_LOG_TRACE("Adding origin: " << rtpePtr->getDestination()
- << " to existing prefix: " << *nameItr);
+ NLSR_LOG_TRACE("Adding origin: " << rtpePtr->getDestination() <<
+ " to existing prefix: " << **nameItr);
(*nameItr)->addRoutingTableEntry(rtpePtr);
(*nameItr)->generateNhlfromRteList();
if ((*nameItr)->getNexthopList().size() > 0) {
- NLSR_LOG_TRACE("Updating FIB with next hops for " << (*nameItr));
+ NLSR_LOG_TRACE("Updating FIB with next hops for " << (**nameItr));
m_nlsr.getFib().update(name, (*nameItr)->getNexthopList());
}
else {