Update Incoming Content Handling
diff --git a/nlsr_ndn.c b/nlsr_ndn.c
index 99f1589..b05aec1 100644
--- a/nlsr_ndn.c
+++ b/nlsr_ndn.c
@@ -245,6 +245,10 @@
res= ccn_sign_content(nlsr->ccn, data, name, &sp, "NACK", strlen("NACK"));
res=ccn_put(nlsr->ccn,data->buf,data->length);
+
+ if(res >= 0)
+ printf("Sending NACK Content is successful \n");
+
ccn_charbuf_destroy(&data);
ccn_charbuf_destroy(&sp.template_ccnb);
@@ -331,7 +335,7 @@
hashtb_end(e);
- nlsr->event_send_lsdb_interest = ccn_schedule_event(nlsr->sched, 300000000, &send_lsdb_interest, NULL, 0);
+ nlsr->event_send_lsdb_interest = ccn_schedule_event(nlsr->sched, 60000000, &send_lsdb_interest, NULL, 0);
return 0;