The BIT(6) has to be set when the "all" loglevel is used to really get all
the log output which is known to batctl.
Fixes: 55042b3a3bbf ("batctl: adding multicast debug level")
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
---
sys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys.c b/sys.c
index bf77b7d..068aa31 100644
--- a/sys.c
+++ b/sys.c
@@ -169,7 +169,7 @@ int handle_loglevel(char *mesh_iface, int argc, char **argv)
log_level = 0;
break;
} else if (strcmp(argv[i], "all") == 0) {
- log_level = 63;
+ log_level = 127;
break;
} else if (strcmp(argv[i], "batman") == 0)
log_level |= BIT(0);
--
2.16.2
Show replies by date