Use separate name prefix and sequence number for each LSA type
refs: #1523
Change-Id: I9db6b3a3ea9ce5e17e132d2a4e2ae9f30dd4f591
diff --git a/src/update/nfd-rib-command-processor.cpp b/src/update/nfd-rib-command-processor.cpp
index f4baeb5..e90503a 100644
--- a/src/update/nfd-rib-command-processor.cpp
+++ b/src/update/nfd-rib-command-processor.cpp
@@ -33,12 +33,10 @@
NfdRibCommandProcessor::NfdRibCommandProcessor(ndn::mgmt::Dispatcher& dispatcher,
NamePrefixList& namePrefixes,
- Lsdb& lsdb,
- SyncLogicHandler& sync)
+ Lsdb& lsdb)
: m_dispatcher(dispatcher)
, m_namePrefixList(namePrefixes)
, m_lsdb(lsdb)
- , m_sync(sync)
{
}
@@ -96,7 +94,6 @@
if (m_namePrefixList.insert(castParams.getName())) {
m_lsdb.buildAndInstallOwnNameLsa();
- m_sync.publishRoutingUpdate();
}
}
@@ -110,7 +107,6 @@
if (m_namePrefixList.remove(castParams.getName())) {
m_lsdb.buildAndInstallOwnNameLsa();
- m_sync.publishRoutingUpdate();
}
}