From 5b6c220d13b48de3980a6a2cd79e991870a00cef Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 21 Jul 2010 14:55:51 +0200 Subject: [PATCH] Added log statement if peer requests EAP, but current config does not allow it --- src/libcharon/sa/tasks/ike_auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcharon/sa/tasks/ike_auth.c b/src/libcharon/sa/tasks/ike_auth.c index 5df1a26f8..a954782f2 100644 --- a/src/libcharon/sa/tasks/ike_auth.c +++ b/src/libcharon/sa/tasks/ike_auth.c @@ -518,6 +518,7 @@ static status_t process_r(private_ike_auth_t *this, message_t *message) (uintptr_t)cand->get(cand, AUTH_RULE_EAP_TYPE) == EAP_NAK && (uintptr_t)cand->get(cand, AUTH_RULE_EAP_VENDOR) == 0)) { /* peer requested EAP, but current config does not match */ + DBG1(DBG_IKE, "peer requested EAP, config inacceptable"); this->peer_cfg->destroy(this->peer_cfg); this->peer_cfg = NULL; if (!update_cfg_candidates(this, FALSE))