Repository : ssh://git@open-mesh.org/batman-adv
On branch : next
commit a5aa462a4f2d323c3d727f8f75ef87b34ed666f6 Author: Antonio Quartulli antonio@meshcoding.com Date: Sun Sep 22 20:18:27 2013 +0200
batman-adv: fix orig capabilities numbering
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 Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
a5aa462a4f2d323c3d727f8f75ef87b34ed666f6 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), };