lsdb: Fix for issues involving incorrect retransmission behavior
Change-Id: I912ca04ccc8303f0c621cd5065553193d09bd26f
diff --git a/src/lsdb.cpp b/src/lsdb.cpp
index 6fd4266..490c540 100644
--- a/src/lsdb.cpp
+++ b/src/lsdb.cpp
@@ -420,6 +420,7 @@
}
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 @@
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));
}
}
}