From acb34739e4423f243ae4d5c7d3a3f807f99bac61 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 22 Jul 2009 22:30:21 +0200 Subject: [PATCH] improved DPD error message --- src/pluto/ipsec_doi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pluto/ipsec_doi.c b/src/pluto/ipsec_doi.c index cac22449e..57f4fb54b 100644 --- a/src/pluto/ipsec_doi.c +++ b/src/pluto/ipsec_doi.c @@ -5445,7 +5445,8 @@ stf_status dpd_inR(struct state *st, struct isakmp_notification *const n, if (!st->st_dpd_expectseqno && seqno != st->st_dpd_expectseqno) { loglog(RC_LOG_SERIOUS - , "DPD: R_U_THERE_ACK has unexpected sequence number"); + , "DPD: R_U_THERE_ACK has unexpected sequence number %u (expected %u)" + , seqno, st->st_dpd_expectseqno); return STF_FAIL + PAYLOAD_MALFORMED; }