mgmt: fib manager implicit fib entry insertion and deletion
refs: #1340
Change-Id: If552bbff71b54c4616ff4478a470c9cdc2a5c4e4
diff --git a/daemon/table/fib.hpp b/daemon/table/fib.hpp
index 0fbacea..e1e5c5a 100644
--- a/daemon/table/fib.hpp
+++ b/daemon/table/fib.hpp
@@ -55,6 +55,9 @@
void
erase(const Name& prefix);
+ void
+ erase(const fib::Entry& entry);
+
/** \brief removes the NextHop record for face in all entrites
* This is usually invoked when face goes away.
* Removing all NextHops in a FIB entry will not remove the FIB entry.
@@ -66,9 +69,6 @@
size() const;
private:
- void
- erase(const fib::Entry& entry);
-
shared_ptr<fib::Entry>
findLongestPrefixMatch(shared_ptr<name_tree::Entry> nameTreeEntry) const;