* [B.A.T.M.A.N.] [PATCH] batctl: fix DBG_ARP log level value
@ 2012-02-09 8:57 Antonio Quartulli
2012-02-09 8:58 ` [B.A.T.M.A.N.] [PATCHv2] batctl: fix DBG_BLA " Antonio Quartulli
0 siblings, 1 reply; 3+ messages in thread
From: Antonio Quartulli @ 2012-02-09 8:57 UTC (permalink / raw)
To: b.a.t.m.a.n
When "batctl ll" is launched with argument "bla", the wrong log_level value (1
<< 4) is written into sysfs instead of the correct (1 << 3)
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
sys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys.c b/sys.c
index 6cf4714..eeb7005 100644
--- a/sys.c
+++ b/sys.c
@@ -223,7 +223,7 @@ int handle_loglevel(char *mesh_iface, int argc, char **argv)
else if (strcmp(argv[i], "tt") == 0)
log_level |= (1 << 2);
else if (strcmp(argv[i], "bla") == 0)
- log_level |= (1 << 4);
+ log_level |= (1 << 3);
else {
log_level_usage();
goto out;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [B.A.T.M.A.N.] [PATCHv2] batctl: fix DBG_BLA log level value
2012-02-09 8:57 [B.A.T.M.A.N.] [PATCH] batctl: fix DBG_ARP log level value Antonio Quartulli
@ 2012-02-09 8:58 ` Antonio Quartulli
2012-02-11 11:16 ` Marek Lindner
0 siblings, 1 reply; 3+ messages in thread
From: Antonio Quartulli @ 2012-02-09 8:58 UTC (permalink / raw)
To: b.a.t.m.a.n
When "batctl ll" is launched with argument "bla", the wrong log_level value (1
<< 4) is written into sysfs instead of the correct (1 << 3)
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
Sorry, I made a mistake in the commit subject. Now it is ok.
sys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sys.c b/sys.c
index 6cf4714..eeb7005 100644
--- a/sys.c
+++ b/sys.c
@@ -223,7 +223,7 @@ int handle_loglevel(char *mesh_iface, int argc, char **argv)
else if (strcmp(argv[i], "tt") == 0)
log_level |= (1 << 2);
else if (strcmp(argv[i], "bla") == 0)
- log_level |= (1 << 4);
+ log_level |= (1 << 3);
else {
log_level_usage();
goto out;
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCHv2] batctl: fix DBG_BLA log level value
2012-02-09 8:58 ` [B.A.T.M.A.N.] [PATCHv2] batctl: fix DBG_BLA " Antonio Quartulli
@ 2012-02-11 11:16 ` Marek Lindner
0 siblings, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2012-02-11 11:16 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Thursday, February 09, 2012 16:58:25 Antonio Quartulli wrote:
> When "batctl ll" is launched with argument "bla", the wrong log_level value
> (1 << 4) is written into sysfs instead of the correct (1 << 3)
Applied in revision e01ed43.
Thanks,
Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-11 11:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 8:57 [B.A.T.M.A.N.] [PATCH] batctl: fix DBG_ARP log level value Antonio Quartulli
2012-02-09 8:58 ` [B.A.T.M.A.N.] [PATCHv2] batctl: fix DBG_BLA " Antonio Quartulli
2012-02-11 11:16 ` Marek Lindner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.