Bugfix for avltree modification
authorHenning Rogge <rogge@fgan.de>
Tue, 22 Apr 2008 09:43:57 +0000 (11:43 +0200)
committerHenning Rogge <rogge@fgan.de>
Tue, 22 Apr 2008 09:43:57 +0000 (11:43 +0200)
src/lq_route.c

index b5a00f4..ac905c9 100644 (file)
@@ -475,7 +475,7 @@ olsr_calculate_routing_table (void *context __attribute__((unused)))
          rtp_tree_node;
          rtp_tree_node = avl_walk_next(rtp_tree_node)) {
 
-      rtp = rtp_tree2rtp(rtp_tree_node);
+      rtp = rtp_prefix_tree2rtp(rtp_tree_node);
 
       if (rtp->rtp_rt) {