batman-adv: print the VID properly
authorAntonio Quartulli <antonio@open-mesh.com>
Fri, 19 Apr 2013 16:07:01 +0000 (18:07 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:55 +0000 (02:44 +0200)
commit5f80df6705fcd8153f93bd0e82109dbeb7ff535b
tree6329eebd180cd7f130fa351f24e189d05753e3b6
parenteb2deb6b39b1597577c1635e9ebf319f1ae02213
batman-adv: print the VID properly

Since the MSB bits of any vid variable are now used for
storing flags, print the vid properly by taking the flags
away and printing -1 in case of VID representing no real
VLAN.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bridge_loop_avoidance.c