]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
leap change notification cleanup from Dave Mills
authorHarlan Stenn <stenn@ntp.org>
Mon, 19 Dec 2005 23:12:59 +0000 (18:12 -0500)
committerHarlan Stenn <stenn@ntp.org>
Mon, 19 Dec 2005 23:12:59 +0000 (18:12 -0500)
bk: 43a73e7bFzWROzWJL-COIDJWDtPD5Q

ntpd/ntp_loopfilter.c

index 651dcbb66e11ef3c5805f8afde07175fecc7ccf8..031d9a2c8e967fab94c07a8ed2da36e07dfb3461 100644 (file)
@@ -594,9 +594,6 @@ local_clock(
                        tstamp = peer->rec.l_ui - JAN_1970;
                        tm = gmtime(&tstamp);
                        if (tm != NULL) {
-                               int     oleap;
-
-                               oleap = ntv.status;
                                if ((tm->tm_mon + 1 == 6 &&
                                    tm->tm_mday == 30) || (tm->tm_mon +
                                    1 == 12 && tm->tm_mday == 31)) {
@@ -605,11 +602,6 @@ local_clock(
                                        else if (leap_next &
                                            LEAP_DELSECOND)
                                                ntv.status |= STA_DEL;
-                               if (oleap != (ntv.status & (STA_INS |
-                                   STA_DEL)))
-                                       msyslog(LOG_NOTICE,
-                                           "leap change %x",
-                                           ntv.status);
                                }
                        }