akmhoque | ba09474 | 2014-02-28 11:47:21 -0600 | [diff] [blame] | 1 | #include "nlsr_nexthop.hpp" |
akmhoque | 05d5fcf | 2014-04-15 14:58:45 -0500 | [diff] [blame^] | 2 | #include "utility/nlsr_logger.hpp" |
| 3 | #define THIS_FILE "nlsr_nexthop.cpp" |
akmhoque | ba09474 | 2014-02-28 11:47:21 -0600 | [diff] [blame] | 4 | |
| 5 | namespace nlsr |
| 6 | { |
| 7 | |
akmhoque | 5a44dd4 | 2014-03-12 18:11:32 -0500 | [diff] [blame] | 8 | ostream& |
| 9 | operator<<(ostream& os, NextHop& nh) |
| 10 | { |
| 11 | os<<"Face: "<<nh.getConnectingFace()<<" Route Cost: "<<nh.getRouteCost(); |
| 12 | return os; |
| 13 | } |
akmhoque | ba09474 | 2014-02-28 11:47:21 -0600 | [diff] [blame] | 14 | |
| 15 | }//namespace nlsr |