u-boot/net
Norbert van Bolhuis c9a2aab151 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>
2009-06-15 00:13:55 -07:00
..
bootp.c A VLAN tagged DHCP request/discover is 4 bytes short 2009-06-15 00:13:55 -07:00
bootp.h net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
eth.c Remove support for non-CONFIG_NET_MULTI on PPC4xx EMAC 2009-06-15 00:13:54 -07:00
Makefile net/sntp.c: move ifdef into Makefile COBJS-$(...) 2009-02-09 22:53:54 -08:00
net.c netloop: updates for NetLoop 2009-05-15 21:19:02 +02:00
nfs.c convert print_IPaddr() to %pI4 2009-03-20 22:39:09 +01:00
nfs.h * Patch by Steven Scholz, 25 Feb 2004: 2004-02-27 00:07:27 +00:00
rarp.c net: express the first argument to NetSetTimeout() in milliseconds 2008-10-18 21:54:00 +02:00
rarp.h Initial revision 2002-07-20 20:14:13 +00:00
sntp.c net/sntp.c: move ifdef into Makefile COBJS-$(...) 2009-02-09 22:53:54 -08:00
sntp.h * Patch by Masami Komiya, 30 Mar 2005: 2005-04-01 00:25:43 +00:00
tftp.c convert print_IPaddr() to %pI4 2009-03-20 22:39:09 +01:00
tftp.h Initial revision 2000-12-28 11:02:30 +00:00