In NTPv4, the warning is propagated as soon as it is available. If it were more than 6 months in advance, this could be an issue but that hasn't happened yet. NTP also ignores the alternate (Mar/Sept) leap windows by design.
Greg Dowd gdowd at symmetricom dot com (antispam format) Symmetricom, Inc. www.symmetricom.com "Everything should be made as simple as possible, but no simpler" Albert Einstein > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Scott Mace > Sent: Monday, August 25, 2008 8:21 AM > To: Discussion of precise time and frequency measurement > Subject: [time-nuts] hpgps ntp refclock driver and leap second > > Shouldn't the hpgps ntp driver wait to raise the leap second > flag until a month before the leap second and not whenever > the satellite happens > to first transmit it? See attached patch. > > diff -u refclock_hpgps.c.orig refclock_hpgps.c > --- refclock_hpgps.c.orig 2008-08-25 09:49:59.000000000 -0500 > +++ refclock_hpgps.c 2008-08-25 09:56:29.000000000 -0500 > @@ -535,7 +535,8 @@ > switch (leapchar) { > > case '+': > - pp->leap = LEAP_ADDSECOND; > + if ((month == 6) || (month == 12)) > + pp->leap = LEAP_ADDSECOND; > break; > > case '0': > @@ -543,7 +544,8 @@ > break; > > case '-': > - pp->leap = LEAP_DELSECOND; > + if ((month == 6) || (month == 12)) > + pp->leap = LEAP_DELSECOND; > break; > > default: > > _______________________________________________ > time-nuts mailing list -- [email protected] To unsubscribe, > go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. > _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
