]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/tftp.c
net: cosmetic: Un-typedef IP_t
[karo-tx-uboot.git] / net / tftp.c
index bc7fe05465cb9b4c3b0a1e8a1d45264862be7fae..a04a832f8c78742fc66f268ef50a4355196b108e 100644 (file)
@@ -322,7 +322,7 @@ TftpSend(void)
         *      We will always be sending some sort of packet, so
         *      cobble together the packet headers now.
         */
-       pkt = (uchar *)(NetTxPacket + NetEthHdrSize() + IP_HDR_SIZE);
+       pkt = NetTxPacket + NetEthHdrSize() + IP_UDP_HDR_SIZE;
 
        switch (TftpState) {
        case STATE_SEND_RRQ: