From a1eb5cf3be399a8f9adb1b547e5c1f6076a3443e Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Thu, 13 Jul 2023 17:07:00 +0000 Subject: [PATCH] core: set interest lifetime to zero --- ndn-svs/core.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ndn-svs/core.cpp b/ndn-svs/core.cpp index 6fc49fa..d037b8c 100644 --- a/ndn-svs/core.cpp +++ b/ndn-svs/core.cpp @@ -188,9 +188,7 @@ SVSyncCore::sendSyncInterest() } interest.setName(syncName); - interest.setInterestLifetime(time::milliseconds(1000)); - interest.setCanBePrefix(true); - interest.setMustBeFresh(true); + interest.setInterestLifetime(time::milliseconds(0)); switch (m_securityOptions.interestSigner->signingInfo.getSignerType()) {