commit | b1710aac0b50709895f3be00cc68265d19ef01fd | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Wed Feb 19 17:13:36 2014 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Wed Feb 19 17:13:36 2014 -0600 |
tree | 08eb8a3e7f98e14f8afed07ef70aae586b57336f | |
parent | 1a4810947f0e61f1cbf91972fb0e91ed58508388 [diff] [blame] |
Adding namespace nlsr
diff --git a/src/nlsr_nexthop.cpp b/src/nlsr_nexthop.cpp index 7af0bd4..7906142 100644 --- a/src/nlsr_nexthop.cpp +++ b/src/nlsr_nexthop.cpp
@@ -1,8 +1,12 @@ #include "nlsr_nexthop.hpp" +namespace nlsr { + ostream& operator<<(ostream& os, NextHop& nh) { os<<"Face: "<<nh.getConnectingFace()<<" Route Cost: "<<nh.getRouteCost(); return os; } + +}//namespace nlsr