commit | ba09474389f2cf7b0538aaa757abe0b7243990db | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Fri Feb 28 11:47:21 2014 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Fri Feb 28 11:47:21 2014 -0600 |
tree | d58d4c8a7e5c3874267d470fb61a2aa2648419a2 | |
parent | 2bb198edb816ad579e7ef22806276484df14f805 [diff] [blame] |
Directory Structuring
diff --git a/src/route/nlsr_nexthop.cpp b/src/route/nlsr_nexthop.cpp new file mode 100644 index 0000000..e58b23c --- /dev/null +++ b/src/route/nlsr_nexthop.cpp
@@ -0,0 +1,13 @@ +#include "nlsr_nexthop.hpp" + +namespace nlsr +{ + + ostream& + operator<<(ostream& os, NextHop& nh) + { + os<<"Face: "<<nh.getConnectingFace()<<" Route Cost: "<<nh.getRouteCost(); + return os; + } + +}//namespace nlsr