Repository : ssh://git@open-mesh.org/batman-adv
On branch : next
commit 78c836cfa6cfb44885118dc4310456ffdd87f915 Author: Antonio Quartulli ordex@autistici.org Date: Thu May 9 18:48:16 2013 +0200
batman-adv: use VLAN_VID_MASK when printing the vid
Introduced in 454b849c7de18a7b44eecebe889f5f3149d24780 ("batman-adv: print the VID properly")
Signed-off-by: Antonio Quartulli ordex@autistici.org Signed-off-by: Marek Lindner lindner_marek@yahoo.de
78c836cfa6cfb44885118dc4310456ffdd87f915 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;