Blame SOURCES/ntp-4.2.6p3-broadcastdelay.patch

473877
==== ntpd/ntp_proto.c ====
473877
2010-10-22 01:55:45-04:00, stenn@deacon.udel.edu +2 -5
473877
  [Bug 1670] Fix peer->bias and broadcastdelay
473877
473877
--- 1.307/ntpd/ntp_proto.c	2010-10-11 21:06:05 -07:00
473877
+++ 1.308/ntpd/ntp_proto.c	2010-10-21 22:55:45 -07:00
473877
@@ -929,7 +929,6 @@ receive(
473877
 
473877
 			} else {
473877
 				peer->delay = sys_bdelay;
473877
-				peer->bias = -sys_bdelay / 2.;
473877
 			}
473877
 			break;
473877
 		}
473877
@@ -1570,7 +1569,6 @@ process_packet(
473877
 		p_del = fabs(t21 - t34);
473877
 		p_offset = (t21 + t34) / 2.;
473877
 	}
473877
-	p_offset += peer->bias;
473877
 	p_disp = LOGTOD(sys_precision) + LOGTOD(peer->precision) +
473877
 	    clock_phi * p_del;
473877
 
473877
@@ -1647,7 +1645,7 @@ process_packet(
473877
 	/*
473877
 	 * That was awesome. Now hand off to the clock filter.
473877
 	 */
473877
-	clock_filter(peer, p_offset, p_del, p_disp);
473877
+	clock_filter(peer, p_offset + peer->bias, p_del, p_disp);
473877
 
473877
 	/*
473877
 	 * If we are in broadcast calibrate mode, return to broadcast