Adding more statistics collection (number of transmitted/received bytes
per "pit entry" and per face)
diff --git a/model/ccnx-app-face.cc b/model/ccnx-app-face.cc
index f032cd7..cec8a1c 100644
--- a/model/ccnx-app-face.cc
+++ b/model/ccnx-app-face.cc
@@ -91,7 +91,7 @@
m_app->RegisterProtocolHandler (MakeCallback (&CcnxFace::Receive, this));
}
-void
+bool
CcnxAppFace::SendImpl (Ptr<Packet> p)
{
NS_LOG_FUNCTION (this << p);
@@ -124,10 +124,13 @@
break;
}
}
+
+ return true;
}
catch (CcnxUnknownHeaderException)
{
NS_LOG_ERROR ("Unknown header type");
+ return false;
}
}