public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <antonio@meshcoding.com>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@meshcoding.com>
Subject: [B.A.T.M.A.N.] [PATCH 1/2 next] batman-adv: fix orig capabilities numbering
Date: Sun, 22 Sep 2013 20:18:27 +0200	[thread overview]
Message-ID: <1379873908-1766-1-git-send-email-antonio@meshcoding.com> (raw)

Let's start the capabilities from bit 0.

Introduced by 2b1c07b918d2acc41555bbde9d538179acb308b4
("batman-adv: tvlv - add distributed arp table container")

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
---
 types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/types.h b/types.h
index f323822..8465a55 100644
--- a/types.h
+++ b/types.h
@@ -246,7 +246,7 @@ struct batadv_orig_node {
  * @BATADV_ORIG_CAPA_HAS_NC: orig node has network coding enabled
  */
 enum batadv_orig_capabilities {
-	BATADV_ORIG_CAPA_HAS_DAT = BIT(1),
+	BATADV_ORIG_CAPA_HAS_DAT = BIT(0),
 	BATADV_ORIG_CAPA_HAS_NC = BIT(2),
 };
 
-- 
1.8.1.5


             reply	other threads:[~2013-09-22 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22 18:18 Antonio Quartulli [this message]
2013-09-22 18:18 ` [B.A.T.M.A.N.] [PATCH 2/2 next] batman-adv: fix orig capabilities numbering (NetCod) Antonio Quartulli
2013-09-24 12:29   ` Marek Lindner
2013-09-24 12:28 ` [B.A.T.M.A.N.] [PATCH 1/2 next] batman-adv: fix orig capabilities numbering Marek Lindner

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=1379873908-1766-1-git-send-email-antonio@meshcoding.com \
    --to=antonio@meshcoding.com \
    --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