rib+tools: adapt to Controller::CommandFailCallback with ControlResponse
refs #3739
Change-Id: Icf5b3ed0bd997730a024bad2ccd258c8168b4ccb
diff --git a/rib/rib-manager.hpp b/rib/rib-manager.hpp
index 55ee394..998a284 100644
--- a/rib/rib-manager.hpp
+++ b/rib/rib-manager.hpp
@@ -169,13 +169,13 @@
const ndn::nfd::ControlParameters& result);
void
- onCommandPrefixAddNextHopError(const Name& name, const std::string& msg);
+ onCommandPrefixAddNextHopError(const Name& name, const ndn::nfd::ControlResponse& response);
void
onControlHeaderSuccess();
void
- onControlHeaderError(uint32_t code, const std::string& reason);
+ onControlHeaderError(const ndn::nfd::ControlResponse& response);
private:
ndn::Face& m_face;