Deleted Added
full compact
ntp_refclock.c (330106) ntp_refclock.c (338530)
1/*
2 * ntp_refclock - processing support for reference clocks
3 */
4#ifdef HAVE_CONFIG_H
5# include <config.h>
6#endif
7
8#include "ntpd.h"

--- 98 unchanged lines hidden (view full) ---

107 case CEVNT_BADTIME:
108 pp->baddata++;
109 break;
110
111 default:
112 /* ignore others */
113 break;
114 }
1/*
2 * ntp_refclock - processing support for reference clocks
3 */
4#ifdef HAVE_CONFIG_H
5# include <config.h>
6#endif
7
8#include "ntpd.h"

--- 98 unchanged lines hidden (view full) ---

107 case CEVNT_BADTIME:
108 pp->baddata++;
109 break;
110
111 default:
112 /* ignore others */
113 break;
114 }
115 if (pp->lastevent < 15)
115 if ((code != CEVNT_NOMINAL) && (pp->lastevent < 15))
116 pp->lastevent++;
117 if (pp->currentstatus != code) {
118 pp->currentstatus = (u_char)code;
119 report_event(PEVNT_CLOCK, peer, ceventstr(code));
120 }
121}
122
123

--- 1257 unchanged lines hidden ---
116 pp->lastevent++;
117 if (pp->currentstatus != code) {
118 pp->currentstatus = (u_char)code;
119 report_event(PEVNT_CLOCK, peer, ceventstr(code));
120 }
121}
122
123

--- 1257 unchanged lines hidden ---