ntpd: Check STA_NANO in the server status
authorMatwey V. Kornilov <matwey.kornilov@gmail.com>
Wed, 6 Jul 2016 13:00:55 +0000 (16:00 +0300)
committerMatwey V. Kornilov <matwey.kornilov@gmail.com>
Sat, 16 Jul 2016 06:42:19 +0000 (09:42 +0300)
commit4aa1288e727433e92b00a595fd2a8e11e734d82e
tree3d8dc375184bbb031b026d84f0fe86635fef82d0
parent37fe166fd6124adeaa91bc26b0a5e34cbdf25114
ntpd: Check STA_NANO in the server status

When STA_NANO is set in ik->status, then results are
expressed in nanoseconds (instead of microseconds by default).

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
src/ntpd.c