diff options
Diffstat (limited to 'net/sntp.c')
| -rw-r--r-- | net/sntp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/net/sntp.c b/net/sntp.c index 69cddb16b..07d036d41 100644 --- a/net/sntp.c +++ b/net/sntp.c @@ -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); |