aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-07-22 22:30:21 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-07-22 22:30:21 +0200
commitacb34739e4423f243ae4d5c7d3a3f807f99bac61 (patch)
treebe4c4dbdb8c6e76d854afcfcc1afcb3ec997127a /src
parente1089f5906e4e148f5f1659373ff5f71a8dfcba2 (diff)
downloadstrongswan-acb34739e4423f243ae4d5c7d3a3f807f99bac61.tar.bz2
strongswan-acb34739e4423f243ae4d5c7d3a3f807f99bac61.tar.xz
improved DPD error message
Diffstat (limited to 'src')
-rw-r--r--src/pluto/ipsec_doi.c3
1 files changed, 2 insertions, 1 deletions
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;
}