fix output of "mox checkupdate", and specify changes to be from newest to oldest

This commit is contained in:
Mechiel Lukkien
2023-02-17 20:14:26 +01:00
parent cafccefad1
commit 4e5030ff38
4 changed files with 14 additions and 7 deletions

View File

@ -76,7 +76,7 @@ type Change struct {
// prevent a potential future different domain owner from notifying users about
// new versions.
type Changelog struct {
Changes []Change
Changes []Change // Newest first.
}
// Lookup looks up the updates DNS TXT record at "_updates.<domain>" and returns