More progress with buffers
diff --git a/model/pit/ndn-pit-entry-impl.h b/model/pit/ndn-pit-entry-impl.h
index 85c94f1..6af9cc5 100644
--- a/model/pit/ndn-pit-entry-impl.h
+++ b/model/pit/ndn-pit-entry-impl.h
@@ -62,6 +62,15 @@
CONTAINER.RescheduleCleaning ();
}
+ virtual void
+ OffsetLifetime (const Time &offsetTime)
+ {
+ CONTAINER.i_time.erase (Pit::time_index::s_iterator_to (*this));
+ super::OffsetLifetime (offsetTime);
+ CONTAINER.i_time.insert (*this);
+
+ CONTAINER.RescheduleCleaning ();
+ }
// to make sure policies work
void