cn-uofbasel / ccn-lite

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

ccnl-fwd: check content duplicates only by name, not all packet bytes #268

Closed cgundogan closed 6 years ago

cgundogan commented 6 years ago

Contribution description

There's no need to check for duplicate packets in a byte by byte manner. Verifying the name alone suffices. If a previous packet somehow had different options or other meta info, then the comparison would fail.

Issues/PRs references

none