route: Ensure nexthops are reregistered correctly
Reregister prefixes if nexthops don't change
Remove invalid nexthops instead of all of them
Cancel FibEntry expiration events before scheduling new ones
Remove FibEntry refreshing
Add grace period to LSA expiration
refs: #1892
Change-Id: I5136b6b0f52a47b6ba72e04b0cea81b85ebccd45
diff --git a/src/lsdb.hpp b/src/lsdb.hpp
index ef45cea..c5dcbed 100644
--- a/src/lsdb.hpp
+++ b/src/lsdb.hpp
@@ -239,6 +239,7 @@
seconds m_lsaRefreshTime;
std::string m_thisRouterPrefix;
+ static const ndn::time::seconds GRACE_PERIOD;
};
}//namespace nlsr