components/ntp/patches/30-mode7.patch
branchs11u1-sru
changeset 2795 a8138e69c041
equal deleted inserted replaced
2794:a5bcbe239323 2795:a8138e69c041
       
     1 This patch reenables support for the ntpdc command's protocol, which
       
     2 has been EOL'ed by the community. Once we finish the EOL process
       
     3 in Solaris, we can remove this patch. 
       
     4 
       
     5 --- ntpd/ntp_proto.c.fcs	2012-07-27 13:19:00.241528650 -0500
       
     6 +++ ntpd/ntp_proto.c	2012-07-27 13:19:16.684268838 -0500
       
     7 @@ -99,7 +99,7 @@ u_long	leap_expire;		/* leap information
       
     8  static int leap_vote;		/* leap consensus */
       
     9  keyid_t	sys_private;		/* private value for session seed */
       
    10  int	sys_manycastserver;	/* respond to manycast client pkts */
       
    11 -int	ntp_mode7;		/* respond to ntpdc (mode7) */
       
    12 +int	ntp_mode7 = TRUE;		/* respond to ntpdc (mode7) */
       
    13  int	peer_ntpdate;		/* active peers in ntpdate mode */
       
    14  int	sys_survivors;		/* truest of the truechimers */
       
    15  char	*sys_ident = NULL;	/* identity scheme */