The following commit has been merged in the master branch: commit 596faa964d5066b7f0e696f36224f1b352330c62 Author: Marek Lindner lindner_marek@yahoo.de Date: Mon Feb 5 23:22:42 2007 +0100
more code cleanup
diff --git a/batman.c b/batman.c index 96685ae..11f3f04 100644 --- a/batman.c +++ b/batman.c @@ -1359,9 +1359,6 @@ int8_t batman() {
send_outstanding_packets();
- if ( ( routing_class != 0 ) && ( curr_gateway == NULL ) ) - choose_gw(); - purge( get_time() );
if ( debug_timeout + 1000 < get_time() ) { @@ -1372,6 +1369,9 @@ int8_t batman() {
checkIntegrity();
+ if ( ( routing_class != 0 ) && ( curr_gateway == NULL ) ) + choose_gw(); + }
time_count++;