Repository : ssh://git@open-mesh.org/batctl
On branch : master
commit 8fb0c951fdf73dd468bd66ee0343b70ff469f375 Author: Sven Eckelmann sven@narfation.org Date: Mon Mar 19 18:40:16 2018 +0100
batctl: Enable mcast log level with "all"
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@narfation.org
8fb0c951fdf73dd468bd66ee0343b70ff469f375 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);