From 1d0cbb40823f6d22b0d3480137f34b20145548a6 Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 14 Jan 2014 19:12:40 +0000 Subject: [PATCH] MFS r260639 (MFC r260637): Disable 'monitor' feature in ntpd by default. Security: FreeBSD-SA-14:02.ntpd Approved by: re (gjb) git-svn-id: svn://svn.freebsd.org/base/releng/10.0@260641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- contrib/ntp/ntpd/ntp_config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/ntp/ntpd/ntp_config.c b/contrib/ntp/ntpd/ntp_config.c index 99af999a..a28bd1b4 100644 --- a/contrib/ntp/ntpd/ntp_config.c +++ b/contrib/ntp/ntpd/ntp_config.c @@ -597,6 +597,8 @@ getconfig( #endif /* not SYS_WINNT */ } + proto_config(PROTO_MONITOR, 0, 0., NULL); + for (;;) { if (tok == CONFIG_END) break; -- 2.42.0