commit | 0fb253eed8f5967b196cef686ee3e7a33ec874a2 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Dec 31 00:11:43 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Jan 06 14:33:21 2015 -0800 |
tree | 7ad37b292a92555d25a3aa617550ce329ed29140 | |
parent | dc8897148cd617472be6d96e85f812d1902d9d0b [diff] [blame] |
NFD: Enable metric parameter on a face
diff --git a/NFD/daemon/face/face.cpp b/NFD/daemon/face/face.cpp index 7d3c1b7..61cc166 100644 --- a/NFD/daemon/face/face.cpp +++ b/NFD/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(); };