From 1f32d38f77152e5e3929f35d94bc69373d7c55bb Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Wed, 26 Apr 2023 22:05:29 +0000 Subject: Add a -P option to rpki-client to specify the evaluation time This is intended to be able to test rpki-client in a reproducable way without worrying about the system time changing the results ok claudio@ --- usr.sbin/rpki-client/rpki-client.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.sbin/rpki-client/rpki-client.8') diff --git a/usr.sbin/rpki-client/rpki-client.8 b/usr.sbin/rpki-client/rpki-client.8 index ae37d96b9b3..47d14ca0160 100644 --- a/usr.sbin/rpki-client/rpki-client.8 +++ b/usr.sbin/rpki-client/rpki-client.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpki-client.8,v 1.93 2023/03/06 19:20:34 job Exp $ +.\" $OpenBSD: rpki-client.8,v 1.94 2023/04/26 22:05:28 beck Exp $ .\" .\" Copyright (c) 2019 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 6 2023 $ +.Dd $Mdocdate: April 26 2023 $ .Dt RPKI-CLIENT 8 .Os .Sh NAME @@ -163,6 +163,11 @@ If the and .Fl j options are not specified this is the default. +.It Fl P Ar posix-seconds +Specify the time for the evaluation in +.Ar posix-seconds +seconds from the unix epoch. +This overrides the default of using the current system time. .It Fl R Synchronize via RSYNC only. .It Fl r -- cgit v1.2.3