1 diff -up ntp-4.2.6p3/ntpd/ntp_proto.c.delaycalib ntp-4.2.6p3/ntpd/ntp_proto.c
2 --- ntp-4.2.6p3/ntpd/ntp_proto.c.delaycalib 2010-11-25 15:21:52.578492466 +0100
3 +++ ntp-4.2.6p3/ntpd/ntp_proto.c 2010-11-25 15:21:55.987625500 +0100
4 @@ -1498,7 +1498,7 @@ process_packet(
6 if (peer->cast_flags & MDF_BCLNT) {
7 peer->cast_flags &= ~MDF_BCLNT;
8 - peer->delay = (peer->offset - p_offset) * 2;
9 + peer->delay = fabs(peer->offset - p_offset) * 2;
12 p_offset += p_del / 2;