Fix bug in fisheye rewrite
authorHenning Rogge <rogge@fgan.de>
Wed, 9 Sep 2009 11:38:41 +0000 (13:38 +0200)
committerHenning Rogge <rogge@fgan.de>
Wed, 9 Sep 2009 11:38:41 +0000 (13:38 +0200)
src/tc_set.c

index f7fc0e2..ea7691b 100644 (file)
@@ -985,7 +985,7 @@ olsr_output_lq_tc_internal(void *ctx  __attribute__ ((unused)), union olsr_ip_ad
       ttl = ttl_list[ttl_index];
     }
   }
-  pkt_put_u8(&curr, ttl_list[ttl_index]);
+  pkt_put_u8(&curr, ttl);
 
   /* hopcount */
   pkt_put_u8(&curr, 0);