face/mgmt/fw/tools: add localUri to FaceStatus and FaceEventNotification
refs #1396
Change-Id: I6084745c62c44a409ecbd4a795cb712475e32416
diff --git a/daemon/fw/forwarder.cpp b/daemon/fw/forwarder.cpp
index 8ffda2f..8ce48f7 100644
--- a/daemon/fw/forwarder.cpp
+++ b/daemon/fw/forwarder.cpp
@@ -39,7 +39,7 @@
NFD_LOG_DEBUG("onIncomingInterest face=" << inFace.getId() <<
" interest=" << interest.getName());
const_cast<Interest&>(interest).setIncomingFaceId(inFace.getId());
- m_counters.getInInterest() ++;
+ m_counters.getNInInterests() ++;
// /localhost scope control
bool isViolatingLocalhost = !inFace.isLocal() &&
@@ -155,7 +155,7 @@
// send Interest
outFace.sendInterest(interest);
- m_counters.getOutInterest() ++;
+ m_counters.getNOutInterests() ++;
}
void
@@ -186,7 +186,7 @@
// receive Data
NFD_LOG_DEBUG("onIncomingData face=" << inFace.getId() << " data=" << data.getName());
const_cast<Data&>(data).setIncomingFaceId(inFace.getId());
- m_counters.getInData() ++;
+ m_counters.getNInDatas() ++;
// /localhost scope control
bool isViolatingLocalhost = !inFace.isLocal() &&
@@ -282,7 +282,7 @@
// send Data
outFace.sendData(data);
- m_counters.getOutData() ++;
+ m_counters.getNOutDatas() ++;
}
static inline bool