use correct macro for inline recasting
authorHenning Rogge <rogge@fgan.de>
Tue, 22 Apr 2008 14:29:48 +0000 (16:29 +0200)
committerHenning Rogge <rogge@fgan.de>
Tue, 22 Apr 2008 14:29:48 +0000 (16:29 +0200)
src/lq_route.c

index fcfbeec..01748ce 100644 (file)
@@ -471,7 +471,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) {