logic: do not process exclude interests

refs: #4209, #4179

Change-Id: I74583d0d34d6e8db0cbfa844f5f47d4633f38849
This commit is contained in:
Ashlesh Gawande committed 2017-07-31 15:13:00 -05:00
1 parent 687cf92fd4
commit 8ba7d5a162
1 file changed
+2 -1
+2 -1
View File
@@ -320,7 +320,8 @@ Logic::onSyncInterest(const Name& prefix, const Interest& interest)
else if (name.size() >= 2 && RECOVERY_COMPONENT == name.get(-2)) {
processRecoveryInterest(interest);
}
else {
// Do not process exclude interests, they should be answered by CS
else if (interest.getExclude().empty()) {
processSyncInterest(interest.shared_from_this());
}