adapt to Controller::CommandFailCallback with ControlResponse
refs #3739
Change-Id: I193fb11fd96bd91808fc6e3af22a8da2511246e2
diff --git a/src/hello-protocol.hpp b/src/hello-protocol.hpp
index e22d0e7..b145f6b 100644
--- a/src/hello-protocol.hpp
+++ b/src/hello-protocol.hpp
@@ -26,6 +26,7 @@
#include <ndn-cxx/face.hpp>
#include <ndn-cxx/management/nfd-control-parameters.hpp>
+#include <ndn-cxx/management/nfd-control-response.hpp>
#include <ndn-cxx/util/scheduler.hpp>
namespace nlsr {
@@ -70,7 +71,7 @@
const std::string& msg);
void
- onRegistrationFailure(uint32_t code, const std::string& error,
+ onRegistrationFailure(const ndn::nfd::ControlResponse& response,
const ndn::Name& name);
void