When being verbose about various leapfile versions, also mention expiration.
The expiration date is actually more of a version number than the version date, because expiration changes twice a year, whereas the version only changes when actual leap second events occur (except in USNO leapfiles, which inappropriately bump the version with every expiration date change).
This commit is contained in:
parent
b5a278bcf4
commit
795c4eaa37
@ -106,8 +106,8 @@ ntpd_needfetch_leapfile() {
|
||||
ntp_expiry_src=$(get_ntp_leapfile_expiry $ntp_src_leapfile)
|
||||
ntp_ver_no_db=$(get_ntp_leapfile_ver $ntp_db_leapfile)
|
||||
ntp_expiry_db=$(get_ntp_leapfile_expiry $ntp_db_leapfile)
|
||||
$verbose ntp_src_leapfile version is $ntp_ver_no_src
|
||||
$verbose ntp_db_leapfile version is $ntp_ver_no_db
|
||||
$verbose ntp_src_leapfile version is $ntp_ver_no_src expires $ntp_expiry_src
|
||||
$verbose ntp_db_leapfile version is $ntp_ver_no_db expires $ntp_expiry_db
|
||||
|
||||
if [ "$ntp_ver_no_src" -gt "$ntp_ver_no_db" -o \
|
||||
"$ntp_ver_no_src" -eq "$ntp_ver_no_db" -a \
|
||||
|
Loading…
x
Reference in New Issue
Block a user