The following commit has been merged in the master branch: commit 05c89b422a24ccd58f26dd5c7288c8a1ca2d31bc Author: Marek Lindner lindner_marek@yahoo.de Date: Wed Mar 7 00:41:55 2007 +0100
initial batman advanced upload - nothing beautiful yet
diff --git a/posix-specific.c b/posix-specific.c index f3f069a..e6eb129 100644 --- a/posix-specific.c +++ b/posix-specific.c @@ -544,9 +544,8 @@ void apply_init_args( int argc, char *argv[] ) { exit(EXIT_FAILURE); }
- if ( ( ( routing_class != 0 ) || ( gateway_class != 0 ) ) && ( !probe_tun() ) ) { - exit( 1 ); - } + if ( ( ( routing_class != 0 ) || ( gateway_class != 0 ) ) && ( !probe_tun() ) ) + exit(EXIT_FAILURE);
if ( ! unix_client ) {
@@ -852,7 +851,7 @@ void apply_init_args( int argc, char *argv[] ) { void init_interface ( struct batman_if *batman_if ) { struct ifreq int_req; - short on = 1; + int16_t on = 1;
if ( strlen( batman_if->dev ) > IFNAMSIZ - 1 ) { debug_output( 0, "Error - interface name too long: %s\n", batman_if->dev );