src: Renaming class to spell out them (Adl, Nhl, Npl, Npt, Npte)
Refs: #1534
Change-Id: If4a205e8ad2419505cc796027a5c863471ef5439
diff --git a/src/route/routing-table.cpp b/src/route/routing-table.cpp
index 2bc827c..bb7d3fa 100644
--- a/src/route/routing-table.cpp
+++ b/src/route/routing-table.cpp
@@ -144,12 +144,12 @@
if (rteChk == 0)
{
RoutingTableEntry rte(destRouter);
- rte.getNhl().addNextHop(nh);
+ rte.getNexthopList().addNextHop(nh);
m_rTable.push_back(rte);
}
else
{
- rteChk->getNhl().addNextHop(nh);
+ rteChk->getNexthopList().addNextHop(nh);
}
}
@@ -188,12 +188,12 @@
if (it == m_dryTable.end())
{
RoutingTableEntry rte(destRouter);
- rte.getNhl().addNextHop(nh);
+ rte.getNexthopList().addNextHop(nh);
m_dryTable.push_back(rte);
}
else
{
- (*it).getNhl().addNextHop(nh);
+ (*it).getNexthopList().addNextHop(nh);
}
}