fw: add strategy notification for Interests dropped by LpReliability
add dropped Interest counter to faces
refs #3823
Change-Id: I9910b66932d74383203e8f3732bb45cade83b972
diff --git a/daemon/face/link-service.cpp b/daemon/face/link-service.cpp
index 00dd6f0..9b05c2a 100644
--- a/daemon/face/link-service.cpp
+++ b/daemon/face/link-service.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2014-2015, Regents of the University of California,
+/*
+ * Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -114,6 +114,13 @@
afterReceiveNack(nack);
}
+void
+LinkService::notifyDroppedInterest(const Interest& interest)
+{
+ ++this->nDroppedInterests;
+ onDroppedInterest(interest);
+}
+
std::ostream&
operator<<(std::ostream& os, const FaceLogHelper<LinkService>& flh)
{