mgmt: add body to face destroy control response
refs: #1392
Change-Id: I8b2e7927679224ab180692884f2d082ad3c66d4d
diff --git a/daemon/mgmt/face-manager.cpp b/daemon/mgmt/face-manager.cpp
index bbd495e..7ebe384 100644
--- a/daemon/mgmt/face-manager.cpp
+++ b/daemon/mgmt/face-manager.cpp
@@ -647,7 +647,10 @@
{
target->close();
}
- sendResponse(requestName, 200, "Success");
+
+ ndn::nfd::ControlResponse response;
+ setResponse(response, 200, "Success", options.wireEncode());
+ sendResponse(requestName, response);
}
void