ntpclient: the 2nd arg of MKLVM should be version number
Change-Id: I742c3a5082f48fcc8e291100ff81c60093bc7538 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
66e7590dd0
commit
782953ff05
@ -409,7 +409,7 @@ static int ntpc_daemon(int argc, char **argv)
|
||||
/* Format the transmit datagram */
|
||||
|
||||
memset(&pkt, 0, sizeof(pkt));
|
||||
pkt.lvm = MKLVM(0, 3, NTP_VERSION);
|
||||
pkt.lvm = MKLVM(0, NTP_VERSION, 3);
|
||||
|
||||
sinfo("Sending a NTP packet\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user