summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2023-01-04 16:51:35 +0000
committerJob Snijders <job@cvs.openbsd.org>2023-01-04 16:51:35 +0000
commit41504642540f4cda5527c27a16704020e50f1b05 (patch)
tree86673b13bb5ddb765745c40a5c246548542bff61
parent86bffe989746a3ca05738221a43ba7c52c486391 (diff)
Print RRDP serial + ID if nothing changed
OK tb@
-rw-r--r--usr.sbin/rpki-client/rrdp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/rrdp.c b/usr.sbin/rpki-client/rrdp.c
index 2ec9ebff1fc..e5fe791867c 100644
--- a/usr.sbin/rpki-client/rrdp.c
+++ b/usr.sbin/rpki-client/rrdp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rrdp.c,v 1.28 2023/01/03 18:19:12 job Exp $ */
+/* $OpenBSD: rrdp.c,v 1.29 2023/01/04 16:51:34 job Exp $ */
/*
* Copyright (c) 2020 Nils Fisher <nils_fisher@hotmail.com>
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
@@ -366,7 +366,8 @@ rrdp_finished(struct rrdp *s)
break;
}
} else if (s->res == HTTP_NOT_MOD && s->task == NOTIFICATION) {
- logx("%s: notification file not modified", s->local);
+ logx("%s: notification file not modified (%s#%lld)", s->local,
+ s->repository.session_id, s->repository.serial);
/* no need to update state file */
rrdp_free(s);
rrdp_done(id, 1);