components/ntp/patches/30-mode7.patch
author April Chin <april.chin@oracle.com>
Fri, 03 Oct 2014 08:19:15 -0700
branchs11u2-sru
changeset 3361 a4a50df947fd
parent 2789 b28fe4d7df32
permissions -rw-r--r--
PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7 19624365 create runtime/ruby package that includes any ruby version

This patch reenables support for the ntpdc command's protocol, which
has been EOL'ed by the community. Once we finish the EOL process
in Solaris, we can remove this patch. 

--- ntpd/ntp_proto.c.fcs	2012-07-27 13:19:00.241528650 -0500
+++ ntpd/ntp_proto.c	2012-07-27 13:19:16.684268838 -0500
@@ -99,7 +99,7 @@ u_long	leap_expire;		/* leap information
 static int leap_vote;		/* leap consensus */
 keyid_t	sys_private;		/* private value for session seed */
 int	sys_manycastserver;	/* respond to manycast client pkts */
-int	ntp_mode7;		/* respond to ntpdc (mode7) */
+int	ntp_mode7 = TRUE;		/* respond to ntpdc (mode7) */
 int	peer_ntpdate;		/* active peers in ntpdate mode */
 int	sys_survivors;		/* truest of the truechimers */
 char	*sys_ident = NULL;	/* identity scheme */