b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH maint] batctl: Enable mcast log level with "all"
@ 2018-03-19 17:40 Sven Eckelmann
  0 siblings, 0 replies; only message in thread
From: Sven Eckelmann @ 2018-03-19 17:40 UTC (permalink / raw)
  To: b.a.t.m.a.n

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>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-19 17:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 17:40 [B.A.T.M.A.N.] [PATCH maint] batctl: Enable mcast log level with "all" Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).