cn-uofbasel / ccn-lite

CCN-lite, a lightweight implementation of the CCNx protocol and its variations
ISC License
74 stars 63 forks source link

Fixed: Static content became stale in tutorial scenario 1 #306

Closed s3lph closed 5 years ago

s3lph commented 5 years ago

Contribution description

This PR fixes a bug in the ccnl-core component, more precisely in the ageing of the CS.

When following the instructions in scenario 1 in the tutorial, it was not possible to fetch the static content created in this tutorial. A inspection of the log revealed that the content was flagged as stale, despitebeing static. This PR adds an additional check in ccnl_relay:ccnl_do_ageing to prevent static content from being flagged as stale.