diff options
author | delphij <delphij@FreeBSD.org> | 2016-06-04 05:46:52 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-06-04 05:46:52 +0000 |
commit | 1c978b35b9ee5349b17431da32fc8f413549f4ce (patch) | |
tree | a6138f764720bbcab22809c6c06ffa7c23bc2c26 /contrib/ntp/ntpd/ntp_config.c | |
parent | 86a921b1ab9596bf698d84429aab86a4be596a80 (diff) | |
download | FreeBSD-src-1c978b35b9ee5349b17431da32fc8f413549f4ce.zip FreeBSD-src-1c978b35b9ee5349b17431da32fc8f413549f4ce.tar.gz |
Fix multiple ntp vulnerabilities.
Security: FreeBSD-SA-16:24.ntp
Approved by: so
Diffstat (limited to 'contrib/ntp/ntpd/ntp_config.c')
-rw-r--r-- | contrib/ntp/ntpd/ntp_config.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ntp/ntpd/ntp_config.c b/contrib/ntp/ntpd/ntp_config.c index cb32737..2d4ab52 100644 --- a/contrib/ntp/ntpd/ntp_config.c +++ b/contrib/ntp/ntpd/ntp_config.c @@ -2971,12 +2971,16 @@ apply_enable_disable( proto_config(PROTO_MONITOR, enable, 0., NULL); break; + case T_Mode7: + proto_config(PROTO_MODE7, enable, 0., NULL); + break; + case T_Ntp: proto_config(PROTO_NTP, enable, 0., NULL); break; - case T_Mode7: - proto_config(PROTO_MODE7, enable, 0., NULL); + case T_PCEdigest: + proto_config(PROTO_PCEDIGEST, enable, 0., NULL); break; case T_Stats: |