Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment