commit | ad042a5e28c8f581450f6e60b40d4e4ebdaa2d55 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Dec 31 00:11:43 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Aug 20 18:00:07 2015 -0700 |
tree | 6f75411c186245f93261877681ea9861ca540997 | |
parent | 40962b892ab7dd0f2de6a24b1c7cc00f1d6b40a6 [diff] [blame] |
[ndnSIM] face: Enable metric parameter on a face
diff --git a/daemon/face/face.cpp b/daemon/face/face.cpp index 7d3c1b7..61cc166 100644 --- a/daemon/face/face.cpp +++ b/daemon/face/face.cpp
@@ -35,6 +35,7 @@ , m_localUri(localUri) , m_isOnDemand(false) , m_isFailed(false) + , m_metric(0) { onReceiveInterest += [this](const ndn::Interest&) { ++m_counters.getNInInterests(); }; onReceiveData += [this](const ndn::Data&) { ++m_counters.getNInDatas(); };