]>
Commit | Line | Data |
---|---|---|
6fca7355 ER |
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) |