]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/sntp.c
net: cosmetic: Un-typedef IP_t
[karo-tx-uboot.git] / net / sntp.c
index 69cddb16b5c053ae278ade14bf412161eb8016ff..07d036d41de85ab14108217fa1f63ada616dc9f6 100644 (file)
@@ -31,7 +31,7 @@ SntpSend(void)
        pkt.vn = NTP_VERSION;
        pkt.mode = NTP_MODE_CLIENT;
 
-       memcpy((char *)NetTxPacket + NetEthHdrSize() + IP_HDR_SIZE,
+       memcpy((char *)NetTxPacket + NetEthHdrSize() + IP_UDP_HDR_SIZE,
                (char *)&pkt, pktlen);
 
        SntpOurPort = 10000 + (get_timer(0) % 4096);