Setting ccn_run(nlsr->ccn,1) timeout value 1
diff --git a/nlsr-sync-0.0/nlsr.c b/nlsr-sync-0.0/nlsr.c
index c65eccd..fde7a43 100755
--- a/nlsr-sync-0.0/nlsr.c
+++ b/nlsr-sync-0.0/nlsr.c
@@ -1324,7 +1324,7 @@
}
if(nlsr->ccn != NULL)
{
- res = ccn_run(nlsr->ccn, 0);
+ res = ccn_run(nlsr->ccn, 1);
}
if (!(nlsr->sched && nlsr->ccn))
{
diff --git a/nlsr-sync-0.0/nlsr_lsdb.c b/nlsr-sync-0.0/nlsr_lsdb.c
index 88ca59d..68a6451 100755
--- a/nlsr-sync-0.0/nlsr_lsdb.c
+++ b/nlsr-sync-0.0/nlsr_lsdb.c
@@ -2001,13 +2001,8 @@
if ( nlsr->detailed_logging )
writeLogg(__FILE__,__FUNCTION__,__LINE__,"Others Adj LSA need to be deleted\n");
- //char *key=(char *)malloc(adj_lsa->header->orig_router->length+2+2);
- //memset(key,0,adj_lsa->header->orig_router->length+2);
- //make_adj_lsa_key(key,adj_lsa);
-
hashtb_delete(e);
i++;
- //nlsr->event = ccn_schedule_event(nlsr->sched, 10, &delete_adj_lsa, (void *)key, 0);
}
}