]> git.sur5r.net Git - u-boot/blobdiff - net/tftp.c
* Patch by Matthew S. McClintock, 14 Apr 2004:
[u-boot] / net / tftp.c
index 2d3ee5f160ed242976925fbb99da8cec13b0529d..5a5ae22ac85b367ac7f83d190fbc31fac0f158b0 100644 (file)
@@ -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) {