components/ntp/patches/30-mode7.patch
author Jacob Varughese <jacob.varughese@oracle.com>
Mon, 18 Nov 2013 14:56:47 -0800
branchs11-update
changeset 2821 8add1494802c
parent 2789 b28fe4d7df32
permissions -rw-r--r--
17270625 textfilecontent54 probe fails to match patterns in file XScreensaver 17329762 file probe does not return has_extended_acl info 17329743 uname probe does not return processor type correctly 17382171 isainfo probe does not correct value for isainfo -n
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2789
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     1
This patch reenables support for the ntpdc command's protocol, which
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     2
has been EOL'ed by the community. Once we finish the EOL process
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     3
in Solaris, we can remove this patch. 
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     4
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     5
--- ntpd/ntp_proto.c.fcs	2012-07-27 13:19:00.241528650 -0500
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     6
+++ ntpd/ntp_proto.c	2012-07-27 13:19:16.684268838 -0500
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     7
@@ -99,7 +99,7 @@ u_long	leap_expire;		/* leap information
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     8
 static int leap_vote;		/* leap consensus */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     9
 keyid_t	sys_private;		/* private value for session seed */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    10
 int	sys_manycastserver;	/* respond to manycast client pkts */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    11
-int	ntp_mode7;		/* respond to ntpdc (mode7) */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    12
+int	ntp_mode7 = TRUE;		/* respond to ntpdc (mode7) */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    13
 int	peer_ntpdate;		/* active peers in ntpdate mode */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    14
 int	sys_survivors;		/* truest of the truechimers */
b28fe4d7df32 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    15
 char	*sys_ident = NULL;	/* identity scheme */