||Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric

Hi,

Attached is the patch which has been uploaded to Ubuntu Oneiric package.

Thanks.

Kind Regards,
Dave Walker
Description:  Resolving regression where ntpdate ignores replies 
 from some ntp servers where recieve and transmit timestamps are 
 equal. Patch cherry picked from upstream commit.
Origin: upstream, http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatch&REV=1.2225.3.1
Author: Dave Hart <daveh...@hartbrothers.com>
Bug: http://bugs.ntp.org/1709
Bug-Ubuntu: https://launchpad.net/bugs/787551 
Bug-Debian: http://bugs.debian.org/599793

--- a/ntpdate/ntpdate.c
+++ b/ntpdate/ntpdate.c
@@ -868,8 +868,7 @@
 	 * Make sure the server is at least somewhat sane.	If not, try
 	 * again.
 	 */
-	if (L_ISZERO(&rec) || !L_ISHIS(&server->org, &rec)
-	    || L_ISEQU(&rec, &server->org)) {
+	if (L_ISZERO(&rec) || !L_ISHIS(&server->org, &rec)) {
 		server->event_time = current_time + sys_timeout;
 		return;
 	}

Reply via email to