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:
Xiang Xiao 2020-02-14 17:22:46 +08:00 committed by patacongo
parent 66e7590dd0
commit 782953ff05

View File

@ -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");