Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > 0b1d47b1c6f4110a2d764d40ac25359d > files > 66

ntp-4.2.6p5-33.mga6.src.rpm

diff -up ntp-4.2.6p5/ntpd/ntp_timer.c.orphreftime ntp-4.2.6p5/ntpd/ntp_timer.c
--- ntp-4.2.6p5/ntpd/ntp_timer.c.orphreftime	2016-04-06 14:54:06.509912455 +0200
+++ ntp-4.2.6p5/ntpd/ntp_timer.c	2016-04-06 14:54:12.132926469 +0200
@@ -433,6 +433,7 @@ timer(void)
 		sys_offset = 0;
 		sys_rootdelay = 0;
 		sys_rootdisp = 0;
+		get_systime(&sys_reftime);
 	}
 
 	/*