[ntp:bk-ntp-dev-send] BitKeeper diffs

stenn at whimsy.udel.edu stenn at whimsy.udel.edu
Fri Jul 5 03:02:08 UTC 2013


#### ChangeSet ####
2013-07-04 23:01:44-04:00, stenn at deacon.udel.edu
  [Bug 2415] RES_LIMITED flags check should use &, not &&

==== ChangeLog ====
2013-07-04 23:01:37-04:00, stenn at deacon.udel.edu +1 -0
  [Bug 2415] RES_LIMITED flags check should use &, not &&

--- 1.1298/ChangeLog	2013-07-04 21:44:57 -04:00
+++ 1.1299/ChangeLog	2013-07-04 23:01:37 -04:00
@@ -1,3 +1,4 @@
+* [Bug 2415] RES_LIMITED flags check should use &, not &&.
 * Have NTP_LIBNTP check for time.h and clock_getres().
 * Fix ntpsweep to use sntp instead of ntpdate, from Oliver Kindernay.
 (4.2.7p368) 2013/05/01 Released by Harlan Stenn <stenn at ntp.org>

==== ntpd/ntp_restrict.c ====
2013-07-04 23:01:37-04:00, stenn at deacon.udel.edu +1 -1
  [Bug 2415] RES_LIMITED flags check should use &, not &&

--- 1.34/ntpd/ntp_restrict.c	2011-01-08 03:45:13 -05:00
+++ 1.35/ntpd/ntp_restrict.c	2013-07-04 23:01:37 -04:00
@@ -215,7 +215,7 @@ free_res(
 	restrict_u *	unlinked;
 
 	restrictcount--;
-	if (RES_LIMITED && res->flags)
+	if (RES_LIMITED & res->flags)
 		dec_res_limited();
 
 	if (v6)


More information about the bk-ntp-dev-send mailing list