Blame SOURCES/ntp-4.2.6p5-cve-2016-7433.patch

6e16f6
diff -up ntp-4.2.6p5/ntpd/ntp_proto.c.cve-2016-7433 ntp-4.2.6p5/ntpd/ntp_proto.c
6e16f6
--- ntp-4.2.6p5/ntpd/ntp_proto.c.cve-2016-7433	2016-11-21 17:54:29.604704343 +0100
6e16f6
+++ ntp-4.2.6p5/ntpd/ntp_proto.c	2016-11-21 17:55:04.231569928 +0100
6e16f6
@@ -2914,8 +2914,7 @@ root_distance(
6e16f6
 	 * where:
6e16f6
 	 *  delta   is the round-trip delay
6e16f6
 	 *  DELTA   is the root delay
6e16f6
-	 *  epsilon is the remote server precision + local precision
6e16f6
-	 *	    + (15 usec each second)
6e16f6
+	 *  epsilon is the peer dispersion (15 usec each second)
6e16f6
 	 *  EPSILON is the root dispersion
6e16f6
 	 *  phi     is the peer jitter statistic
6e16f6
 	 *
6e16f6
@@ -2926,8 +2925,7 @@ root_distance(
6e16f6
 	 * other worse choices.
6e16f6
 	 */
6e16f6
 	dtemp = (peer->delay + peer->rootdelay) / 2
6e16f6
-		+ LOGTOD(peer->precision)
6e16f6
-		  + LOGTOD(sys_precision)
6e16f6
+		+ peer->disp
6e16f6
 		  + clock_phi * (current_time - peer->update)
6e16f6
 		+ peer->rootdisp
6e16f6
 		+ peer->jitter;