diff options
author | wdenk <wdenk> | 2004-04-15 21:48:45 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-04-15 21:48:45 +0000 |
commit | a3d991bd0da8b9fb9dbf2c7481091c3d082b9b13 (patch) | |
tree | c474375dc1cc812e006921ab2ad122b21923e512 /net/tftp.c | |
parent | a6ab4bf978a3d5a52a47bbd259b7eb4c860ebd0c (diff) | |
download | u-boot-a3d991bd0da8b9fb9dbf2c7481091c3d082b9b13.tar.gz u-boot-a3d991bd0da8b9fb9dbf2c7481091c3d082b9b13.tar.xz u-boot-a3d991bd0da8b9fb9dbf2c7481091c3d082b9b13.zip |
Patches by Pantelis Antoniou, 30 Mar 2004:
add networking support for VLANs (802.1q), and CDP (Cisco Discovery Protocol)
Diffstat (limited to 'net/tftp.c')
-rw-r--r-- | net/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c index 2d3ee5f160..5a5ae22ac8 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -111,7 +111,7 @@ TftpSend (void) * We will always be sending some sort of packet, so * cobble together the packet headers now. */ - pkt = NetTxPacket + ETHER_HDR_SIZE + IP_HDR_SIZE; + pkt = NetTxPacket + NetEthHdrSize() + IP_HDR_SIZE; switch (TftpState) { |