public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2 next 1/2] batman-adv: use VLAN_VID_MASK when printing the vid
@ 2013-05-09 16:48 Antonio Quartulli
  2013-05-09 16:48 ` [B.A.T.M.A.N.] [PATCHv2 next 2/2] batman-adv: use VLAN_VID_MASK instead of BATADV_VID_MASK Antonio Quartulli
  2013-05-12  6:47 ` [B.A.T.M.A.N.] [PATCHv2 next 1/2] batman-adv: use VLAN_VID_MASK when printing the vid Marek Lindner
  0 siblings, 2 replies; 4+ messages in thread
From: Antonio Quartulli @ 2013-05-09 16:48 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Antonio Quartulli

Introduced in 454b849c7de18a7b44eecebe889f5f3149d24780
("batman-adv: print the VID properly")

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.h b/main.h
index d575436..8bcffa5 100644
--- a/main.h
+++ b/main.h
@@ -175,7 +175,7 @@ enum batadv_vlan_flags {
 /* mask needed to extract the vlan ID (12bits) from a 16bits variable */
 #define BATADV_VID_MASK	0x0FFF
 #define BATADV_PRINT_VID(vid) (vid & BATADV_VLAN_HAS_TAG ? \
-			       (int)(vid & BATADV_VID_MASK) : -1)
+			       (int)(vid & VLAN_VID_MASK) : -1)
 
 extern char batadv_routing_algo[];
 extern struct list_head batadv_hardif_list;
-- 
1.8.1.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-12  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 16:48 [B.A.T.M.A.N.] [PATCHv2 next 1/2] batman-adv: use VLAN_VID_MASK when printing the vid Antonio Quartulli
2013-05-09 16:48 ` [B.A.T.M.A.N.] [PATCHv2 next 2/2] batman-adv: use VLAN_VID_MASK instead of BATADV_VID_MASK Antonio Quartulli
2013-05-12  6:48   ` Marek Lindner
2013-05-12  6:47 ` [B.A.T.M.A.N.] [PATCHv2 next 1/2] batman-adv: use VLAN_VID_MASK when printing the vid Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox