src: fix prefix advertise runtime error
Don't schedule Hello after receiving face changes in dataset,
let it be on its schedule. Also don't schedule routing calc (HR)
or AdjLsa (LS) let them be scheduled on Hello Data.
refs: #4215
Change-Id: I5c3881943f83b2f7683316fa3e22e6c280b6b64d
diff --git a/src/route/fib.hpp b/src/route/fib.hpp
index 2705e47..4f15655 100644
--- a/src/route/fib.hpp
+++ b/src/route/fib.hpp
@@ -71,7 +71,7 @@
void
registerPrefix(const ndn::Name& namePrefix,
- const std::string& faceUri,
+ const ndn::util::FaceUri& faceUri,
uint64_t faceCost,
const ndn::time::milliseconds& timeout,
uint64_t flags,
@@ -94,22 +94,17 @@
getNumberOfFacesForName(NexthopList& nextHopList);
void
- registerPrefixInNfd(ndn::nfd::ControlParameters& parameters,
- const std::string& faceUri,
- uint8_t times);
-
- void
unregisterPrefix(const ndn::Name& namePrefix, const std::string& faceUri);
void
onRegistrationSuccess(const ndn::nfd::ControlParameters& commandSuccessResult,
- const std::string& message, const std::string& faceUri);
+ const std::string& message, const ndn::util::FaceUri& faceUri);
void
onRegistrationFailure(const ndn::nfd::ControlResponse& response,
const std::string& message,
const ndn::nfd::ControlParameters& parameters,
- const std::string& faceUri,
+ const ndn::util::FaceUri& faceUri,
uint8_t times);
void