Re: [B.A.T.M.A.N.] [PATCH maint] batman-adv: use the proper header len when checking the TTVN

2013-04-20 Thread Marek Lindner
On Wednesday, April 03, 2013 16:14:20 Antonio Quartulli wrote: From: Antonio Quartulli anto...@open-mesh.com Unicast packet might be of type either UNICAST or UNICAST4ADDR. In the two cases the header size is different, but the mechanism checking the TTVN field was assuming it to be always

[B.A.T.M.A.N.] [PATCH maint] batman-adv: use the proper header len when checking the TTVN

2013-04-03 Thread Antonio Quartulli
From: Antonio Quartulli anto...@open-mesh.com Unicast packet might be of type either UNICAST or UNICAST4ADDR. In the two cases the header size is different, but the mechanism checking the TTVN field was assuming it to be always of the same type (UNICAST), so failing to access the inner Ethernet