]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
improved DPD error message
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 22 Jul 2009 20:30:21 +0000 (22:30 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 22 Jul 2009 20:30:21 +0000 (22:30 +0200)
src/pluto/ipsec_doi.c

index cac22449e7e516baa8612bfb3ffe1af32dbd3a53..57f4fb54b14ae577070f50be6342cd8ee00ee594 100644 (file)
@@ -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;
        }