mgmt/tools: fix build errors
Replace deprecated FaceStatus elements.
Fix unused-result warning in ndn-tlv-peek.
refs #1417
Change-Id: I6a8dcbfce1e0a112041ed2fedc2d485ff67ccf7d
diff --git a/daemon/mgmt/face-status-publisher.cpp b/daemon/mgmt/face-status-publisher.cpp
index 6bc8c72..89c731e 100644
--- a/daemon/mgmt/face-status-publisher.cpp
+++ b/daemon/mgmt/face-status-publisher.cpp
@@ -41,19 +41,19 @@
size_t statusLength = 0;
statusLength += prependNonNegativeIntegerBlock(outBuffer,
- ndn::tlv::nfd::TotalOutgoingDataCounter,
+ ndn::tlv::nfd::NOutDatas,
counters.getOutData());
statusLength += prependNonNegativeIntegerBlock(outBuffer,
- ndn::tlv::nfd::TotalOutgoingInterestCounter,
+ ndn::tlv::nfd::NOutInterests,
counters.getOutInterest());
statusLength += prependNonNegativeIntegerBlock(outBuffer,
- ndn::tlv::nfd::TotalIncomingDataCounter,
+ ndn::tlv::nfd::NInDatas,
counters.getInData());
statusLength += prependNonNegativeIntegerBlock(outBuffer,
- ndn::tlv::nfd::TotalIncomingInterestCounter,
+ ndn::tlv::nfd::NInInterests,
counters.getInInterest());
statusLength += prependByteArrayBlock(outBuffer,