Update json key names
authorjob <job@openbsd.org>
Fri, 15 Oct 2021 08:48:18 +0000 (08:48 +0000)
committerjob <job@openbsd.org>
Fri, 15 Oct 2021 08:48:18 +0000 (08:48 +0000)
OK claudio@

usr.sbin/rpki-client/output-json.c

index eee39d9..38c5422 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: output-json.c,v 1.19 2021/10/12 15:16:45 job Exp $ */
+/*     $OpenBSD: output-json.c,v 1.20 2021/10/15 08:48:18 job Exp $ */
 /*
  * Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
  *
@@ -46,8 +46,8 @@ outputheader_json(FILE *out, struct stats *st)
            "\t\t\"roas\": %zu,\n"
            "\t\t\"failedroas\": %zu,\n"
            "\t\t\"invalidroas\": %zu,\n"
-           "\t\t\"bgpsec_router_keys\": %zu,\n"
-           "\t\t\"invalidbgpsec_router_keys\": %zu,\n"
+           "\t\t\"bgpsec_pubkeys\": %zu,\n"
+           "\t\t\"invalidbgpsec_pubkeys\": %zu,\n"
            "\t\t\"certificates\": %zu,\n"
            "\t\t\"failcertificates\": %zu,\n"
            "\t\t\"invalidcertificates\": %zu,\n"