Blame SOURCES/ntp-4.2.6p5-monwarn.patch

6d3098
diff -up ntp-4.2.6p5/ntpd/ntp_proto.c.monwarn ntp-4.2.6p5/ntpd/ntp_proto.c
6d3098
--- ntp-4.2.6p5/ntpd/ntp_proto.c.monwarn	2014-07-03 18:03:37.985020147 +0200
6d3098
+++ ntp-4.2.6p5/ntpd/ntp_proto.c	2014-07-03 18:06:08.656380757 +0200
6d3098
@@ -3701,8 +3701,12 @@ proto_config(
6d3098
 	case PROTO_MONITOR:	/* monitoring (monitor) */
6d3098
 		if (value)
6d3098
 			mon_start(MON_ON);
6d3098
-		else
6d3098
+		else {
6d3098
 			mon_stop(MON_ON);
6d3098
+			if (mon_enabled)
6d3098
+				msyslog(LOG_WARNING,
6d3098
+					"monitor cannot be disabled with limited restrict");
6d3098
+		}
6d3098
 		break;
6d3098
 
6d3098
 	case PROTO_NTP:		/* NTP discipline (ntp) */