The following commit has been merged in the master branch: commit 7ae18eaba0399e0a5ef6bc776bb1e97716c92d35 Author: Antonio Quartulli ordex@autistici.org Date: Mon Feb 27 11:43:36 2012 +0100
batctl: fix 'all' loglevel
After having added the "bla" log level, the numeric value for "all" is now 15, not 7.
Reported-by: Marek Lindner lindner_marek@yahoo.de Signed-off-by: Antonio Quartulli ordex@autistici.org
diff --git a/sys.c b/sys.c index 0b7ddf7..0b4cac3 100644 --- a/sys.c +++ b/sys.c @@ -214,7 +214,7 @@ int handle_loglevel(char *mesh_iface, int argc, char **argv) log_level = 0; break; } else if (strcmp(argv[i], "all") == 0) { - log_level = 7; + log_level = 15; break; } else if (strcmp(argv[i], "batman") == 0) log_level |= (1 << 0);