tools: display nfd software verion in nfd-status-http-server and nfd-status
refs #1916
Change-Id: I0ba272d4ba9314d483776526d05eaf0f2393dbac
diff --git a/daemon/mgmt/status-server.cpp b/daemon/mgmt/status-server.cpp
index 8861b9a..c8ce5b4 100644
--- a/daemon/mgmt/status-server.cpp
+++ b/daemon/mgmt/status-server.cpp
@@ -63,7 +63,7 @@
{
shared_ptr<ndn::nfd::ForwarderStatus> status = make_shared<ndn::nfd::ForwarderStatus>();
- status->setNfdVersion(NFD_VERSION);
+ status->setNfdVersion(NFD_VERSION_BUILD_STRING);
status->setStartTimestamp(m_startTimestamp);
status->setCurrentTimestamp(time::system_clock::now());