aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-04-05 13:54:26 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-04-05 13:54:26 +0200
commitde93154231761e0e154fb62097a5a5993b751a73 (patch)
tree5003837d32027f47b9f3d2717e4446f16667a9d7 /src/libcharon/sa
parent2f7c12a2f4306987a21a96b9358a16cbc868204c (diff)
downloadstrongswan-de93154231761e0e154fb62097a5a5993b751a73.tar.bz2
strongswan-de93154231761e0e154fb62097a5a5993b751a73.tar.xz
log the initial value of the EAP identifier
Diffstat (limited to 'src/libcharon/sa')
-rw-r--r--src/libcharon/sa/authenticators/eap_authenticator.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libcharon/sa/authenticators/eap_authenticator.c b/src/libcharon/sa/authenticators/eap_authenticator.c
index dea02755d..3d7104cb5 100644
--- a/src/libcharon/sa/authenticators/eap_authenticator.c
+++ b/src/libcharon/sa/authenticators/eap_authenticator.c
@@ -187,12 +187,13 @@ static eap_payload_t* server_initiate_eap(private_eap_authenticator_t *this,
{
if (vendor)
{
- DBG1(DBG_IKE, "initiating EAP vendor type %d-%d method",
- type, vendor);
+ DBG1(DBG_IKE, "initiating EAP vendor type %d-%d method (id: %u)",
+ type, vendor, out->get_identifier(out));
}
else
{
- DBG1(DBG_IKE, "initiating %N method", eap_type_names, type);
+ DBG1(DBG_IKE, "initiating %N method (id: %u)", eap_type_names,
+ type, out->get_identifier(out));
}
return out;
}
@@ -376,8 +377,8 @@ static eap_payload_t* client_process_eap(private_eap_authenticator_t *this,
}
else
{
- DBG1(DBG_IKE, "server requested %N authentication",
- eap_type_names, type);
+ DBG1(DBG_IKE, "server requested %N authentication (id: %u)",
+ eap_type_names, type, in->get_identifier(in));
}
this->method = load_method(this, type, vendor, EAP_PEER);
if (!this->method)