mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
@@ -730,7 +730,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp)
|
|||||||
break;
|
break;
|
||||||
#if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_TIMEOFFSET)
|
#if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_TIMEOFFSET)
|
||||||
case 2: /* Time offset */
|
case 2: /* Time offset */
|
||||||
NetCopyLong (&NetTimeOffset, (ulong *) (popt + 2));
|
NetCopyLong ((ulong *)&NetTimeOffset, (ulong *) (popt + 2));
|
||||||
NetTimeOffset = ntohl (NetTimeOffset);
|
NetTimeOffset = ntohl (NetTimeOffset);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user