components/ntp/patches/30-mode7.patch
author Gabriel Carrillo <gabriel.carrillo@oracle.com>
Mon, 25 Nov 2013 14:43:56 -0800
branchs11u1-sru
changeset 2830 3d056f49638d
parent 2795 a8138e69c041
permissions -rw-r--r--
Added tag 0.175.1.13.0.6.0, S11.1SRU13.6 for changeset 663f38ad85e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2795
a8138e69c041 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
a8138e69c041 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
a8138e69c041 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. 
a8138e69c041 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     4
a8138e69c041 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
a8138e69c041 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
a8138e69c041 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
a8138e69c041 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
     8
 static int leap_vote;		/* leap consensus */
a8138e69c041 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 */
a8138e69c041 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 */
a8138e69c041 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) */
a8138e69c041 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) */
a8138e69c041 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 */
a8138e69c041 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 */
a8138e69c041 15705382 SUNBT7031289 Update ntp to 4.2.7
Brian Utterback <brian.utterback@oracle.com>
parents:
diff changeset
    15
 char	*sys_ident = NULL;	/* identity scheme */