diff options
author | delphij <delphij@FreeBSD.org> | 2014-01-14 19:04:33 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-01-14 19:04:33 +0000 |
commit | c152bbe479264025c53eff2edeb30f6132f74a38 (patch) | |
tree | 1522fb1a95df79e4538abefe712b16ea7f1626a1 | |
parent | defa475beb4d8f68d025a712cd3461cff6823da7 (diff) | |
download | FreeBSD-src-c152bbe479264025c53eff2edeb30f6132f74a38.zip FreeBSD-src-c152bbe479264025c53eff2edeb30f6132f74a38.tar.gz |
MFC r260637:
Disable 'monitor' feature in ntpd by default.
Security: FreeBSD-SA-14:02.ntpd
Approved by: so
-rw-r--r-- | contrib/ntp/ntpd/ntp_config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ntp/ntpd/ntp_config.c b/contrib/ntp/ntpd/ntp_config.c index 99af999..a28bd1b 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; |