table: simplify FIB iterator with Boost.Range

refs #3738

Change-Id: I0bfe985c9dac86a67988f77a89f4d2694c4fd9f5
diff --git a/daemon/table/fib.cpp b/daemon/table/fib.cpp
index 022bb93..8ba6ffe 100644
--- a/daemon/table/fib.cpp
+++ b/daemon/table/fib.cpp
@@ -155,10 +155,11 @@
   }
 }
 
-Fib::const_iterator
-Fib::begin() const
+Fib::Range
+Fib::getRange() const
 {
-  return const_iterator(m_nameTree.fullEnumerate(&nteHasFibEntry).begin());
+  return m_nameTree.fullEnumerate(&nteHasFibEntry) |
+         boost::adaptors::transformed(name_tree::GetTableEntry<Entry>(&name_tree::Entry::getFibEntry));
 }
 
 } // namespace fib