batctl: Enable mcast log level with "all"
PATCH 1/1 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 <[email protected]>
--- sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sys.c +1 -1
@@ -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 );
Signature · 1 line
2.16.2