Small modification regarding suppression
Now, Interest can be suppressed in both onInterest and onNack. If there
are still good outgoing faces except incoming, onInterest will suppress.
If after invalidating the incoming face, there are still good faces
left, onNack will suppress.
diff --git a/model/ccnx-pit-entry.h b/model/ccnx-pit-entry.h
index fd426f5..93e4869 100644
--- a/model/ccnx-pit-entry.h
+++ b/model/ccnx-pit-entry.h
@@ -205,6 +205,13 @@
*/
bool
AreAllOutgoingInVain () const;
+
+ /*
+ * @brief Similar to AreAllOutgoingInVain, but ignores `face`
+ * \see AreAllOutgoingInVain
+ **/
+ bool
+ AreTherePromisingOutgoingFacesExcept (Ptr<CcnxFace> face) const;
protected: