aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-07-21 14:55:51 +0200
committerMartin Willi <martin@revosec.ch>2010-07-21 17:09:15 +0200
commit5b6c220d13b48de3980a6a2cd79e991870a00cef (patch)
tree3f06212689749767ee928c5846216be236d932b5
parente93f452825ec27cb9355401d0e57767b822bb196 (diff)
downloadstrongswan-5b6c220d13b48de3980a6a2cd79e991870a00cef.tar.bz2
strongswan-5b6c220d13b48de3980a6a2cd79e991870a00cef.tar.xz
Added log statement if peer requests EAP, but current config does not allow it
-rw-r--r--src/libcharon/sa/tasks/ike_auth.c1
1 files changed, 1 insertions, 0 deletions
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))