diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-04-29 04:29:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-04-29 04:29:41 +0000 |
commit | 7eacafa70c27e510a801875b51f9ed1c6cbf1578 (patch) | |
tree | bd116a29888e6daef7a5a3a677d207b512f90714 /usr.sbin | |
parent | 0262ca9372ae130f98a239cba20121ff5081a77c (diff) |
json should have headers in same order
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/output-json.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/rpki-client/output-json.c b/usr.sbin/rpki-client/output-json.c index 36bd01792a6..2bbb9fb00f6 100644 --- a/usr.sbin/rpki-client/output-json.c +++ b/usr.sbin/rpki-client/output-json.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output-json.c,v 1.8 2020/04/28 15:04:05 deraadt Exp $ */ +/* $OpenBSD: output-json.c,v 1.9 2020/04/29 04:29:40 deraadt Exp $ */ /* * Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org> * @@ -42,11 +42,11 @@ outputheader_json(FILE *out, struct stats *st) "\t\t\"roas\": %zu,\n" "\t\t\"failedroas\": %zu,\n" "\t\t\"invalidroas\": %zu,\n" - "\t\t\"tals\": %zu,\n" - "\t\t\"talfiles\": \"%s\",\n" "\t\t\"certificates\": %zu,\n" "\t\t\"failcertificates\": %zu,\n" "\t\t\"invalidcertificates\": %zu,\n" + "\t\t\"tals\": %zu,\n" + "\t\t\"talfiles\": \"%s\",\n" "\t\t\"manifests\": %zu,\n" "\t\t\"failedmanifests\": %zu,\n" "\t\t\"stalemanifests\": %zu,\n" @@ -57,8 +57,8 @@ outputheader_json(FILE *out, struct stats *st) "\t},\n\n", hn, tbuf, st->roas, st->roas_fail, st->roas_invalid, - st->tals, st->talnames, st->certs, st->certs_fail, st->certs_invalid, + st->tals, st->talnames, st->mfts, st->mfts_fail, st->mfts_stale, st->crls, st->repos, |