mgmt refactoring: FibManager
Change-Id: Ied235d025cbe5059545c6482bfed0f38f987fdeb
Refs: #2107
diff --git a/daemon/nfd.cpp b/daemon/nfd.cpp
index 14930ca..023d3d8 100644
--- a/daemon/nfd.cpp
+++ b/daemon/nfd.cpp
@@ -33,7 +33,7 @@
#include "face/null-face.hpp"
#include "face/internal-face.hpp"
#include "face/internal-client-face.hpp"
-// #include "mgmt/fib-manager.hpp"
+#include "mgmt/fib-manager.hpp"
#include "mgmt/face-manager.hpp"
// #include "mgmt/strategy-choice-manager.hpp"
// #include "mgmt/status-server.hpp"
@@ -138,9 +138,10 @@
m_validator.reset(new CommandValidator());
- // m_fibManager.reset(new FibManager(m_forwarder->getFib(),
- // bind(&Forwarder::getFace, m_forwarder.get(), _1),
- // m_internalFace, m_keyChain));
+ m_fibManager.reset(new FibManager(m_forwarder->getFib(),
+ bind(&Forwarder::getFace, m_forwarder.get(), _1),
+ *m_dispatcher,
+ *m_validator));
m_faceManager.reset(new FaceManager(m_forwarder->getFaceTable(),
*m_dispatcher,