Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0d125074 authored by Antonio Quartulli's avatar Antonio Quartulli
Browse files

batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)



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: default avatarAntonio Quartulli <ordex@autistici.org>
parent 1eeb479f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment