Re: [B.A.T.M.A.N.] [PATCHv2 2/2] batman-adv: print the VID properly

2013-04-19 Thread Simon Wunderlich
On Thu, Apr 18, 2013 at 03:43:47PM +0200, Antonio Quartulli wrote: From: Antonio Quartulli anto...@open-mesh.com 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.

Re: [B.A.T.M.A.N.] [PATCHv2 2/2] batman-adv: print the VID properly

2013-04-19 Thread Antonio Quartulli
On Fri, Apr 19, 2013 at 03:12:47PM +0200, Simon Wunderlich wrote: On Thu, Apr 18, 2013 at 03:43:47PM +0200, Antonio Quartulli wrote: From: Antonio Quartulli anto...@open-mesh.com Since the MSB bits of any vid variable are now used for storing flags, print the vid properly by taking the

[B.A.T.M.A.N.] [PATCHv2 2/2] batman-adv: print the VID properly

2013-04-18 Thread Antonio Quartulli
From: Antonio Quartulli anto...@open-mesh.com 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 anto...@open-mesh.com ---