fw: integrate forwarder, strategy, tables
refs #1131, #1136
Change-Id: Ica58341cdc1ea1dc421693a87f35fc50177a707d
diff --git a/daemon/fw/best-route-strategy.cpp b/daemon/fw/best-route-strategy.cpp
index 12db744..3b94531 100644
--- a/daemon/fw/best-route-strategy.cpp
+++ b/daemon/fw/best-route-strategy.cpp
@@ -7,9 +7,10 @@
#include "best-route-strategy.hpp"
namespace nfd {
+namespace fw {
-BestRouteStrategy::BestRouteStrategy(Forwarder& fw)
- : Strategy(fw)
+BestRouteStrategy::BestRouteStrategy(Forwarder& forwarder)
+ : Strategy(forwarder)
{
}
@@ -21,8 +22,7 @@
BestRouteStrategy::afterReceiveInterest(const Face& inFace,
const Interest& interest,
shared_ptr<fib::Entry> fibEntry,
- shared_ptr<pit::Entry> pitEntry,
- pit::InRecordCollection::iterator pitInRecord)
+ shared_ptr<pit::Entry> pitEntry)
{
const fib::NextHopList& nexthops = fibEntry->getNextHops();
if (nexthops.size() == 0) {
@@ -34,4 +34,5 @@
this->sendInterest(pitEntry, outFace);
}
+} // namespace fw
} // namespace nfd