From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv2 2/3] batctl: add support for the DAT log level
Date: Sun, 7 Oct 2012 03:36:23 +0800 [thread overview]
Message-ID: <201210070336.23832.lindner_marek@yahoo.de> (raw)
In-Reply-To: <1349551832-22283-2-git-send-email-ordex@autistici.org>
On Sunday, October 07, 2012 03:30:31 Antonio Quartulli wrote:
> @@ -327,6 +330,8 @@ int handle_loglevel(char *mesh_iface, int argc, char **argv)
> "messages related to translation table operations", "tt");
> printf("[%c] %s (%s)\n", (log_level & BIT(3)) ? 'x' : ' ',
> "messages related to bridge loop avoidance", "bla");
> + printf("[%c] %s (%s)\n", (log_level & 16) ? 'x' : ' ',
> + "messages related to arp snooping and distributetd arp table", "dat");
>
> out:
> free(path_buff);
How about using BIT(4) like in the rest of the patch ?
Cheers,
Marek
next prev parent reply other threads:[~2012-10-06 19:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-06 19:30 [B.A.T.M.A.N.] [PATCHv2 1/3] batctl: add support for the DAT local table Antonio Quartulli
2012-10-06 19:30 ` [B.A.T.M.A.N.] [PATCHv2 2/3] batctl: add support for the DAT log level Antonio Quartulli
2012-10-06 19:36 ` Marek Lindner [this message]
2012-10-06 19:30 ` [B.A.T.M.A.N.] [PATCHv2 3/3] batctl: add DAT runtime switch support Antonio Quartulli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201210070336.23832.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox