diff --git a/sys/net/ccn_lite/ccnl-core.c b/sys/net/ccn_lite/ccnl-core.c index 5ca3920c6d..7f9ee47f17 100644 --- a/sys/net/ccn_lite/ccnl-core.c +++ b/sys/net/ccn_lite/ccnl-core.c @@ -1325,10 +1325,12 @@ int ccnl_core_RX_i_or_c(struct ccnl_relay_s *relay, struct ccnl_face_s *from, from->stat.received_content++; // CONFORM: Step 1: - for (c = relay->contents; c; c = c->next) + for (c = relay->contents; c; c = c->next) { if (buf_equal(c->pkt, buf)) { - goto Skip; // content is dup + DEBUGMSG(1, "content is dup: skip\n"); + goto Skip; } + } c = ccnl_content_new(relay, &buf, &p, &ppkd, content, contlen);