ntp: Specify leap-not-in-sync in flags
authorGrant Erickson <marathon96@gmail.com>
Mon, 16 Jul 2012 16:48:01 +0000 (09:48 -0700)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 17 Jul 2012 08:13:21 +0000 (10:13 +0200)
commit8b88736393073531edbafffee47d6633e8c2ce2e
tree2d27e73e8f3cfedcc09bb254dce552d939781efc
parent123e093b1395afe8b8857f40af6b08d9f396f9d3
ntp: Specify leap-not-in-sync in flags

This patch sets the non-in-sync flag of the leap subfield of the packet
flags field. This reflects behavior implemented by ntpdate or ntpd in
one-shot mode.
src/ntp.c