fw: Add nack propagation to ASF
This change implements the Best Route nack propagation algorithim
to ASF. Currently, this is not provided by ASF and can impact
the ability for consumers to retransmit packets.
Refs #5311
Change-Id: I45b643979c8726402b89028f07eaedd54c11b4c0
diff --git a/daemon/fw/asf-strategy.cpp b/daemon/fw/asf-strategy.cpp
index 7695095..2373c69 100644
--- a/daemon/fw/asf-strategy.cpp
+++ b/daemon/fw/asf-strategy.cpp
@@ -34,6 +34,7 @@
AsfStrategy::AsfStrategy(Forwarder& forwarder, const Name& name)
: Strategy(forwarder)
+ , ProcessNackTraits(this)
, m_measurements(getMeasurements())
, m_probing(m_measurements)
{
@@ -167,6 +168,7 @@
{
NFD_LOG_NACK_FROM(nack, ingress, "");
onTimeoutOrNack(pitEntry->getName(), ingress.face.getId(), true);
+ this->processNack(nack, ingress.face, pitEntry);
}
pit::OutRecord*