batctl: fix 'all' loglevel
Commit Message
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>
---
sys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Comments
On Monday, February 27, 2012 18:43:36 Antonio Quartulli wrote:
> After having added the "bla" log level, the numeric value for "all" is now
> 15, not 7.
Applied in revision 7ae18ea.
Thanks,
Marek
@@ -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);