Skip to contentSkip to conversation

batctl: Enable mcast log level with "all"

PATCH New Sven Eckelmann 1 participant 1 message Mar 19, 2018

lore
Share & tools
lore
#0 lore raw

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")
---
 sys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sys.c +1 -1
index bf77b7d..068aa31 100644
@@ -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