File name format change and Removed warning messages (Except warning from boost for Logging)
Change-Id: If3a3a5411d377d925527fc3e8809c228a9a81e26
diff --git a/src/route/routing-table-entry.cpp b/src/route/routing-table-entry.cpp
new file mode 100644
index 0000000..5222cb9
--- /dev/null
+++ b/src/route/routing-table-entry.cpp
@@ -0,0 +1,25 @@
+#include <iostream>
+#include <string>
+
+#include "routing-table-entry.hpp"
+
+namespace nlsr {
+
+using namespace std;
+
+ostream&
+operator<<(ostream& os, RoutingTableEntry& rte)
+{
+ os << "Destination: " << rte.getDestination() << endl;
+ os << "Nexthops: " << endl;
+ int i = 1;
+ std::list<NextHop> nhl = rte.getNhl().getNextHopList();
+ for (std::list<NextHop>::iterator it = nhl.begin();
+ it != nhl.end() ; it++, i++)
+ {
+ os << " Nexthop " << i << ": " << (*it) << endl;
+ }
+ return os;
+}
+
+}//namespace nlsr