route: updates to name prefixes are more efficent.
With this change, only entries that have changed next-hops will
cause any change in the name prefix table. Consequently, routing
table calculations no longer cause RIB registrations for unchanged
prefixes. However, this is not a problem because FIB entries
refresh themselves. This resulted in the removal of a test from the
TestNlsr suite.
refs: #2864
Change-Id: If28a04cb7bb47a3a6c32cd24578c68885d08d6b3
diff --git a/src/route/nexthop-list.hpp b/src/route/nexthop-list.hpp
index b35f3bf..1c35079 100644
--- a/src/route/nexthop-list.hpp
+++ b/src/route/nexthop-list.hpp
@@ -27,7 +27,6 @@
#include <set>
#include <iostream>
#include <boost/cstdint.hpp>
-
#include <ndn-cxx/face.hpp>
namespace nlsr {
@@ -140,6 +139,9 @@
bool
operator==(const NexthopList& lhs, const NexthopList& rhs);
+bool
+operator!=(const NexthopList& lhs, const NexthopList& rhs);
+
std::ostream&
operator<<(std::ostream& os, const NexthopList& nhl);