You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the interest lifetime in NDN interests is set by default to CCNL_INTEREST_TIMEOUT. The constant is in seconds, but the specification states that the lifetime is milliseconds. In ccnl-relay.c
327/* currently, the aging function relies on seconds rather than on milli seconds */328i->lifetime= (*pkt)->s.ndntlv.interestlifetime / 1000;
The lifetime is encoded as seconds, but it should be milliseconds. I propose to set the constant CCNL_INTEREST_TIMEOUT to milliseconds and transform either the field upon reception into seconds or in the aging function (so the field is always milliseconds and nobody gets confused).
Best,
Michael
The text was updated successfully, but these errors were encountered:
Hi,
the interest lifetime in NDN interests is set by default to
CCNL_INTEREST_TIMEOUT
. The constant is in seconds, but the specification states that the lifetime is milliseconds. Inccnl-relay.c
The lifetime is encoded as seconds, but it should be milliseconds. I propose to set the constant
CCNL_INTEREST_TIMEOUT
to milliseconds and transform either the field upon reception into seconds or in the aging function (so the field is always milliseconds and nobody gets confused).Best,
Michael
The text was updated successfully, but these errors were encountered: