commit | 20a020c48b350e0adaf9e4ae08595f767ee30db9 | [log] [tgz] |
---|---|---|
author | Norbert van Bolhuis <nvbolhuis@aimvalley.nl> | Thu Jun 04 09:39:48 2009 +0200 |
committer | Ben Warren <biggerbadderben@gmail.com> | Mon Jun 15 00:13:55 2009 -0700 |
tree | 113da0f42f7069aff49031f97c6ae3065125e109 | |
parent | 6045806b6b2dda11d39515d4f92010f59e5daa19 [diff] |
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: Norbert van Bolhuis <nvbolhuis@aimvalley.nl> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>