]> git.pld-linux.org Git - packages/ntp.git/blob - ntp-4.2.4p2-clockselect.patch
- release 9
[packages/ntp.git] / ntp-4.2.4p2-clockselect.patch
1 --- ntp-4.2.4p2/ntpd/ntp_proto.c.clockselect    2007-08-16 16:40:46.000000000 +0200
2 +++ ntp-4.2.4p2/ntpd/ntp_proto.c        2007-08-16 16:31:32.000000000 +0200
3 @@ -2085,10 +2085,12 @@ clock_select(void)
4                         typeacts->status = CTL_PST_SEL_DISTSYSPEER;
5                         peer_list[0] = typeacts;
6                         nlist = 1;
7 +                       error[0] = synch[0] = 0.0;
8                 } else if (typelocal != 0) {
9                         typelocal->status = CTL_PST_SEL_DISTSYSPEER;
10                         peer_list[0] = typelocal;
11                         nlist = 1;
12 +                       error[0] = synch[0] = 0.0;
13                 } else {
14                         if (osys_peer != NULL) {
15                                 NLOG(NLOG_SYNCSTATUS)
This page took 0.057971 seconds and 3 git commands to generate.