bk: 577cc70c5q6UVg6FFINrybhN0OUb8g
---
* [Bug 2961] sntp/tests/packetProcessing.c assumes AUTOKEY. HStenn.
+* [Bug 3084] update-leap mis-parses the leapfile name. HStenn.
---
(4.2.8p8) 2016/06/02 Released by Harlan Stenn <stenn@ntp.org>
my $VERBOSE = "";
# Where to get the file
-my $LEAPSRC="ftp://time.nist.gov/pub/leap-seconds.list";
+# Choices:
+# https://www.ietf.org/timezones/data/leap-seconds.list
+# ftp://time.nist.gov/pub/leap-seconds.list
+my $LEAPSRC="https://www.ietf.org/timezones/data/leap-seconds.list";
my $LEAPFILE;
# How many times to try to download new file
open(LF, $NTPCONF) || die "Can't open <$NTPCONF>: $!\n";
while (<LF>) {
chomp;
- if (/^ *leapfile\s+(\S+)/) {
+ if (/^ *leapfile\s+"(\S+)"/) {
$LEAPFILE = $1;
}
}