ntpd: Correct loop offset and error calculation
authorNeil Wilson <neil@aldur.co.uk>
Thu, 23 Feb 2017 17:03:34 +0000 (17:03 +0000)
committerMarc Fournier <marc.fournier@camptocamp.com>
Mon, 4 Sep 2017 09:49:16 +0000 (11:49 +0200)
commitc0760b142da433298ea090a5e4963adcc0192080
treefe7ab9e95d3ac835ad2f5e26f96970f3f6e21eee
parentb8530b9cf75a0b560fdef94f2b80fbe50c22f9c5
ntpd: Correct loop offset and error calculation

Stop the scaling calculation dropping the sign of the underlying value

Fixes: #2188
src/ntpd.c