Skip to content
Snippets Groups Projects
Commit c9a2aab1 authored by Norbert van Bolhuis's avatar Norbert van Bolhuis Committed by Ben Warren
Browse files

A VLAN tagged DHCP request/discover is 4 bytes short


The problem is that BOOTP_SIZE uses ETHER_HDR_SIZE which is 14 bytes.
If sending a VLAN tagged frame (when env variable vlan is set) this
should be VLAN_ETHER_HDR_SIZE=18 which is what NetSetEther returns.

Signed-off-by: default avatarNorbert van Bolhuis <nvbolhuis@aimvalley.nl>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 6e0d2fc7
No related branches found
No related tags found
Loading
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