Tracking Bug
diff --git a/nlsr-sync-0.0/nlsr_npt.c b/nlsr-sync-0.0/nlsr_npt.c
index a050f1c..224de27 100755
--- a/nlsr-sync-0.0/nlsr_npt.c
+++ b/nlsr-sync-0.0/nlsr_npt.c
@@ -819,7 +819,7 @@
printf("Deleting face: Name:%s Face: %d\n",nle->name,fle->next_hop_face);
if ( nlsr->detailed_logging )
writeLogg(__FILE__,__FUNCTION__,__LINE__,"Deleting face: Name:%s Face: %d\n",nle->name,fle->next_hop_face);
- add_delete_ccn_face_by_face_id(nlsr->ccn, (const char *)nle->name, OP_UNREG, fle->next_hop_face);
+ //add_delete_ccn_face_by_face_id(nlsr->ccn, (const char *)nle->name, OP_UNREG, fle->next_hop_face);
}
@@ -856,6 +856,9 @@
void
update_npt_with_new_route(void)
{
+ if ( nlsr->debugging )
+ printf("update_npt_with_new_route called\n");
+
clean_old_fib_entries_from_npt();
add_new_fib_entries_to_npt();
@@ -873,7 +876,7 @@
{
ne=e->data;
- update_ccnd_fib_for_orig_router(ne->orig_router);
+ //update_ccnd_fib_for_orig_router(ne->orig_router);
hashtb_next(e);
}
diff --git a/nlsr-sync-0.0/nlsr_route.c b/nlsr-sync-0.0/nlsr_route.c
index 7fa10ea..1c50d44 100755
--- a/nlsr-sync-0.0/nlsr_route.c
+++ b/nlsr-sync-0.0/nlsr_route.c
@@ -86,6 +86,7 @@
print_all_path_from_source(parent,source);
print_all_next_hop(parent,source);
update_routing_table_with_new_route(parent, dist,source);
+ print_routing_table();
}
else if ( (num_link != 0) && (nlsr->multi_path_face_num > 1 ) )
{
@@ -99,6 +100,7 @@
print_all_path_from_source(parent,source);
print_all_next_hop(parent,source);
update_routing_table_with_new_route(parent, dist,source);
+ print_routing_table();
}
free(links);
@@ -108,7 +110,10 @@
print_routing_table();
print_npt();
- //update_npt_with_new_route();
+ update_npt_with_new_route();
+
+ print_routing_table();
+ print_npt();
for(i = 0; i < map_element; i++)