build: == Dependency change == NLSR now depends on ndn-cxx library
Refs: #1535
Change-Id: I4c7c0c3dcfcac6ee91648a46c07e426adbb5bd20
diff --git a/src/route/routing-table.cpp b/src/route/routing-table.cpp
index 097e95a..2bc827c 100644
--- a/src/route/routing-table.cpp
+++ b/src/route/routing-table.cpp
@@ -7,7 +7,7 @@
#include "map.hpp"
#include "routing-table-calculator.hpp"
#include "routing-table-entry.hpp"
-#include "npt.hpp"
+#include "name-prefix-table.hpp"
namespace nlsr {
@@ -18,7 +18,7 @@
{
//debugging purpose
std::cout << pnlsr.getConfParameter() << std::endl;
- pnlsr.getNpt().print();
+ pnlsr.getNamePrefixTable().print();
pnlsr.getLsdb().printAdjLsdb();
pnlsr.getLsdb().printCorLsdb();
pnlsr.getLsdb().printNameLsdb();
@@ -50,10 +50,10 @@
calculateHypDryRoutingTable(pnlsr);
}
//need to update NPT here
- pnlsr.getNpt().updateWithNewRoute(pnlsr);
+ pnlsr.getNamePrefixTable().updateWithNewRoute(pnlsr);
//debugging purpose
printRoutingTable();
- pnlsr.getNpt().print();
+ pnlsr.getNamePrefixTable().print();
pnlsr.getFib().print();
//debugging purpose end
}
@@ -71,10 +71,10 @@
clearDryRoutingTable(); // for dry run options
// need to update NPT here
std::cout << "Calling Update NPT With new Route" << std::endl;
- pnlsr.getNpt().updateWithNewRoute(pnlsr);
+ pnlsr.getNamePrefixTable().updateWithNewRoute(pnlsr);
//debugging purpose
printRoutingTable();
- pnlsr.getNpt().print();
+ pnlsr.getNamePrefixTable().print();
pnlsr.getFib().print();
//debugging purpose end
}