batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)
authorAntonio Quartulli <ordex@autistici.org>
Sat, 18 Feb 2012 10:27:34 +0000 (11:27 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 18 Apr 2012 07:54:01 +0000 (09:54 +0200)
Instead of using sizeof(struct ethhdr) it is strongly recommended to use the
kernel macro ETH_HLEN. This patch substitute each occurrence of the former
expressione with the latter one.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

No differences found