tools: Fixing bugs in nfd-status
Also in this commit: implementing const_reverse_iterator in FaceTable.
It also would be good to have reverse iterator in Fib, but not strictly
necessary.
Change-Id: Ie9cf849b718f5db76db2957b4452790f9ae68fd3
Refs: #1378
diff --git a/tests/mgmt/face-manager.cpp b/tests/mgmt/face-manager.cpp
index 45a609f..d7eb176 100644
--- a/tests/mgmt/face-manager.cpp
+++ b/tests/mgmt/face-manager.cpp
@@ -1147,7 +1147,7 @@
uint64_t filler = std::numeric_limits<uint64_t>::max() - 1;
dummy->setCounters(filler, filler, filler, filler);
- m_referenceFaces.push_front(dummy);
+ m_referenceFaces.push_back(dummy);
add(dummy);
}
@@ -1158,7 +1158,7 @@
uint64_t filler = std::numeric_limits<uint32_t>::max() - 1;
dummy->setCounters(filler, filler, filler, filler);
- m_referenceFaces.push_front(dummy);
+ m_referenceFaces.push_back(dummy);
add(dummy);
}