commit | dfa4a5b758fd8063304e352fcbd0a8848d1d32be | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Mon Feb 03 20:12:29 2014 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Mon Feb 03 20:12:29 2014 -0600 |
tree | c5547a2a26dc236a8fe25c35a91f53d9b23ce908 | |
parent | a002781aa3bedefdb818a66d9446a14087f527df [diff] [blame] |
Adding rt, rte, nh
diff --git a/nlsr_nexthop.cpp b/nlsr_nexthop.cpp new file mode 100644 index 0000000..7af0bd4 --- /dev/null +++ b/nlsr_nexthop.cpp
@@ -0,0 +1,8 @@ +#include "nlsr_nexthop.hpp" + +ostream& +operator<<(ostream& os, NextHop& nh) +{ + os<<"Face: "<<nh.getConnectingFace()<<" Route Cost: "<<nh.getRouteCost(); + return os; +}