The following commit has been merged in the master branch: commit 3e8041d39f708c8af585e655b5da6fa5b4024a1b Author: Marek Lindner lindner_marek@yahoo.de Date: Wed Sep 20 19:58:53 2006 +0200
retransmit packets with unidirectional flag if neighbour && not router III
diff --git a/batman.c b/batman.c index d8a2cf9..5cb8862 100755 --- a/batman.c +++ b/batman.c @@ -1024,7 +1024,7 @@ int batman() to tell him that we get its packets */ /* if a bidirectional neighbour sends us a packet - retransmit it with unidirectional flag if it is not our best link to it in order to prevent routing problems */ - if ( ( in.orig == neigh ) && ( ( !isBidirectionalNeigh( orig_neigh_node ) ) || ( orig_node->router != 0 ) ) ) { + if ( ( in.orig == neigh ) && ( ( !isBidirectionalNeigh( orig_neigh_node ) ) || ( orig_neigh_node->router != 0 ) ) ) {
schedule_forward_packet(&in, 1, orig_neigh_node, neigh);