The following commit has been merged in the master branch: commit 922802a6fec537e7adc8972680ee3e4732661165 Author: Marek Lindner lindner_marek@yahoo.de Date: Sat Nov 25 19:00:51 2006 +0100
fix routing bug: forward packets of direct neighbours even if they are not best neighbours
diff --git a/batman.c b/batman.c index ab067ad..8d12700 100755 --- a/batman.c +++ b/batman.c @@ -776,7 +776,7 @@ void schedule_forward_packet( struct packet *in, int unidirectional, struct orig if (in->ttl <= 1) { if (debug_level == 4) output("ttl exceeded \n"); - } else if ( ( orig_node->router != neigh ) && ( orig_node->router != 0 ) ) { + } else if ( ( orig_node->router != neigh ) && ( in->orig != neigh ) ) { if (debug_level == 4) output("not my best neighbour\n"); } else {