ports/net/ntp/files/patch-ntpd-ntpd.c
Cy Schubert 1d3b81d14c Apply upstream recommended patch for CVE-2013-5211 and unforbid.
Submitted by:		Harlan Stenn <stenn@nwtime.org> - ntp.org upline
Also Obtained from:	ntp in base (r265465)
2014-10-07 00:21:52 +00:00

13 lines
471 B
C

--- ntpd/ntpd.c.orig 2011-12-24 15:27:15.000000000 -0800
+++ ntpd/ntpd.c 2014-10-06 17:04:57.760219124 -0700
@@ -853,8 +853,8 @@
init_proto(); /* Call at high priority */
init_io();
init_loopfilter();
- mon_start(MON_ON); /* monitor on by default now */
- /* turn off in config if unwanted */
+ mon_start(MON_OFF); /* monitor off by default now */
+ /* turn on in config if wanted */
/*
* Get the configuration. This is done in a separate module