commit | 4e473489c48c904d86e18bdb1ac1cc1a18d0d3e1 | [log] [tgz] |
---|---|---|
author | Ilya Moiseenko <iliamo@ucla.edu> | Mon Oct 31 17:58:14 2011 -0700 |
committer | Ilya Moiseenko <iliamo@ucla.edu> | Mon Oct 31 17:59:10 2011 -0700 |
tree | bc4dbe204bd6f4ece052da1babb21d0d141e6d8f | |
parent | 5b4338609a142ad9bffed72423b2af59adde33a9 [diff] [blame] |
Best route forwarding strategy
diff --git a/model/ccnx-fib.cc b/model/ccnx-fib.cc index 38f0c65..164b46b 100644 --- a/model/ccnx-fib.cc +++ b/model/ccnx-fib.cc
@@ -172,7 +172,7 @@ } Ptr<CcnxFace> -CcnxFibEntry::FindBestCandidate (int skip/* = 0*/) +CcnxFibEntry::FindBestCandidate (int skip/* = 0*/) const { skip = skip % m_faces.size(); return m_faces.get<i_nth> () [skip].GetFace (); @@ -231,6 +231,7 @@ return entry; } + std::ostream& operator<< (std::ostream& os, const CcnxFib &fib) {