src: Renaming class to spell out them (Adl, Nhl, Npl, Npt, Npte)
Refs: #1534
Change-Id: If4a205e8ad2419505cc796027a5c863471ef5439
diff --git a/src/route/fib-entry.cpp b/src/route/fib-entry.cpp
index 05bee41..524b04c 100644
--- a/src/route/fib-entry.cpp
+++ b/src/route/fib-entry.cpp
@@ -9,17 +9,17 @@
bool
FibEntry::isEqualNextHops(NexthopList& nhlOther)
{
- if (m_nhl.getSize() != nhlOther.getSize())
+ if (m_nexthopList.getSize() != nhlOther.getSize())
{
return false;
}
else
{
- int nhCount = 0;
+ uint32_t nhCount = 0;
std::list<NextHop>::iterator it1, it2;
- for (it1 = m_nhl.getNextHopList().begin(),
- it2 = nhlOther.getNextHopList().begin() ;
- it1 != m_nhl.getNextHopList().end() ; it1++, it2++)
+ for (it1 = m_nexthopList.getNextHops().begin(),
+ it2 = nhlOther.getNextHops().begin() ;
+ it1 != m_nexthopList.getNextHops().end() ; it1++, it2++)
{
if (it1->getConnectingFace() == it2->getConnectingFace())
{
@@ -31,7 +31,7 @@
break;
}
}
- return nhCount == m_nhl.getSize();
+ return nhCount == m_nexthopList.getSize();
}
}
@@ -40,7 +40,7 @@
{
os << "Name Prefix: " << fe.getName() << endl;
os << "Time to Refresh: " << fe.getTimeToRefresh() << endl;
- os << fe.getNhl() << endl;
+ os << fe.getNexthopList() << endl;
return os;
}