diff options
author | Norbert van Bolhuis <nvbolhuis@aimvalley.nl> | 2009-06-04 09:39:48 +0200 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-06-15 00:13:55 -0700 |
commit | c9a2aab1512fb2d132670fff9c27656d2eb949cd (patch) | |
tree | 113da0f42f7069aff49031f97c6ae3065125e109 /disk | |
parent | 6e0d2fc7fe0dcfa2f51ab8931d706940ee364193 (diff) | |
download | u-boot-imx-c9a2aab1512fb2d132670fff9c27656d2eb949cd.zip u-boot-imx-c9a2aab1512fb2d132670fff9c27656d2eb949cd.tar.gz u-boot-imx-c9a2aab1512fb2d132670fff9c27656d2eb949cd.tar.bz2 |
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>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions