The following commit has been merged in the master branch: commit 0b8983139587e1251ce4b09f38386ee7a8a31110 Author: Marek Lindner lindner_marek@yahoo.de Date: Wed Sep 20 19:54:05 2006 +0200
retransmit packets with unidirectional flag if neighbour && not router II
diff --git a/batman.c b/batman.c index b59acae..d8a2cf9 100755 --- a/batman.c +++ b/batman.c @@ -1022,6 +1022,8 @@ int batman()
/* if a unidirectional neighbour sends us a packet - retransmit it with unidirectional flag 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 ) ) ) {
schedule_forward_packet(&in, 1, orig_neigh_node, neigh);