1From 7bd0806934e7fabc937aa8d95d478d7554c713f3 Mon Sep 17 00:00:00 2001 2From: Claudio Jeker <claudio@openbsd.org> 3Date: Fri, 6 Nov 2020 13:19:45 +0100 4Subject: [PATCH 3/4] Emit all output formats on non-OpenBSD systems 5 6--- 7 src/usr.sbin/rpki-client/main.c | 3 +++ 8 src/usr.sbin/rpki-client/rpki-client.8 | 8 +++----- 9 2 files changed, 6 insertions(+), 5 deletions(-) 10 11diff --git src/usr.sbin/rpki-client/main.c src/usr.sbin/rpki-client/main.c 12index b2d52f53..6a448f75 100644 13--- src/usr.sbin/rpki-client/main.c 14+++ src/usr.sbin/rpki-client/main.c 15@@ -857,6 +857,9 @@ main(int argc, char *argv[]) 16 17 check_fs_size(cachefd, cachedir); 18 19+ if (outformats == 0) 20+ outformats = FORMAT_OPENBGPD | FORMAT_JSON | FORMAT_CSV 21+ | FORMAT_BIRD; 22 23 if (talsz == 0) 24 talsz = tal_load_default(); 25diff --git src/usr.sbin/rpki-client/rpki-client.8 src/usr.sbin/rpki-client/rpki-client.8 26index 99007fc2..2623df24 100644 27--- src/usr.sbin/rpki-client/rpki-client.8 28+++ src/usr.sbin/rpki-client/rpki-client.8 29@@ -181,11 +181,9 @@ Defaults to 30 .Pp 31 By default 32 .Nm 33-produces a list of unique 34-.Li roa-set 35-statements in 36-.Fl o 37-(OpenBGPD compatible) output. 38+produces a list of unique VRPs in 39+.Fl joBc 40+JSON, OpenBGPD, BIRD and CSV compatible output. 41 .Pp 42 .Nm 43 should be run hourly by 44-- 452.34.1 46 47