lsdb: Fix for issues involving incorrect retransmission behavior

Change-Id: I912ca04ccc8303f0c621cd5065553193d09bd26f
This commit is contained in:
awlane committed 2022-06-17 15:53:10 -05:00
1 parent fabe9729b9
commit 0c87b12458
1 file changed
+2 -1
+2 -1
View File
@@ -420,6 +420,7 @@ Lsdb::expressInterest(const ndn::Name& interestName, uint32_t timeoutCount, uint
}
ndn::util::SegmentFetcher::Options options;
options.interestLifetime = m_confParam.getLsaInterestLifetime();
options.maxTimeout = m_confParam.getLsaInterestLifetime();
NLSR_LOG_DEBUG("Fetching Data for LSA: " << interestName << " Seq number: " << seqNo);
auto fetcher = ndn::util::SegmentFetcher::start(m_face, interest,
@@ -477,7 +478,7 @@ Lsdb::onFetchLsaError(uint32_t errorCode, const std::string& msg, const ndn::Nam
delay = ndn::time::seconds(0);
}
m_scheduler.schedule(delay, std::bind(&Lsdb::expressInterest, this,
interestName, /*??*/0, retransmitNo + 1, deadline));
interestName, retransmitNo + 1, /*Multicast FaceID*/0, deadline));
}
}
}