face: add EndpointId in Face and LinkService
refs: #4843
Change-Id: If1249015392ef904a56a0d0d97946e2b3024d7d4
diff --git a/tests/other/face-benchmark.cpp b/tests/other/face-benchmark.cpp
index 1b86cd5..5c7703f 100644
--- a/tests/other/face-benchmark.cpp
+++ b/tests/other/face-benchmark.cpp
@@ -148,9 +148,15 @@
static void
tieFaces(const shared_ptr<Face>& face1, const shared_ptr<Face>& face2)
{
- face1->afterReceiveInterest.connect([face2] (const Interest& interest) { face2->sendInterest(interest); });
- face1->afterReceiveData.connect([face2] (const Data& data) { face2->sendData(data); });
- face1->afterReceiveNack.connect([face2] (const ndn::lp::Nack& nack) { face2->sendNack(nack); });
+ face1->afterReceiveInterest.connect([face2] (const Interest& interest, const EndpointId&) {
+ face2->sendInterest(interest, 0);
+ });
+ face1->afterReceiveData.connect([face2] (const Data& data, const EndpointId&) {
+ face2->sendData(data, 0);
+ });
+ face1->afterReceiveNack.connect([face2] (const ndn::lp::Nack& nack, const EndpointId&) {
+ face2->sendNack(nack, 0);
+ });
}
static void