FIX: call of olsr_delete_neighbor_pointer()
authorHenning Rogge <rogge@fgan.de>
Mon, 4 May 2009 12:54:07 +0000 (14:54 +0200)
committerHenning Rogge <rogge@fgan.de>
Mon, 4 May 2009 12:54:07 +0000 (14:54 +0200)
src/neighbor_table.c

index b40a392..38af0dc 100644 (file)
@@ -351,7 +351,7 @@ olsr_expire_nbr2_list(void *context)
   nbr2 = nbr2_list->neighbor_2;
 
   nbr2->neighbor_2_pointer--;
-  olsr_delete_neighbor_pointer(nbr2, &nbr->neighbor_main_addr);
+  olsr_delete_neighbor_pointer(nbr2, nbr);
 
   olsr_del_nbr2_list(nbr2_list);
 }