diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-05-29 10:30:02 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-05-29 10:30:02 +0200 |
commit | c76b8a21fee2da2ffac3286198bc1185166a7a2d (patch) | |
tree | 8cbb8cf626ee9a18ce05acc59f1c3e1fb6b5fb60 /src | |
parent | a6cb3741360dc5dd551e975b0a77802e757dfca2 (diff) | |
download | strongswan-c76b8a21fee2da2ffac3286198bc1185166a7a2d.tar.bz2 strongswan-c76b8a21fee2da2ffac3286198bc1185166a7a2d.tar.xz |
logging initial EAP Identifier in EAP Identity Request
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/authenticators/eap_authenticator.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libcharon/sa/authenticators/eap_authenticator.c b/src/libcharon/sa/authenticators/eap_authenticator.c index d442acb00..c85a45fb3 100644 --- a/src/libcharon/sa/authenticators/eap_authenticator.c +++ b/src/libcharon/sa/authenticators/eap_authenticator.c @@ -160,7 +160,9 @@ static eap_payload_t* server_initiate_eap(private_eap_authenticator_t *this, { if (this->method->initiate(this->method, &out) == NEED_MORE) { - DBG1(DBG_IKE, "initiating EAP-Identity request"); + DBG1(DBG_IKE, "initiating %N method (id 0x%02X)", + eap_type_names, EAP_IDENTITY, + this->method->get_identifier(this->method)); return out; } this->method->destroy(this->method); @@ -349,8 +351,8 @@ static eap_payload_t* client_process_eap(private_eap_authenticator_t *this, { id = this->ike_sa->get_my_id(this->ike_sa); } - DBG1(DBG_IKE, "server requested %N, sending '%Y'", - eap_type_names, type, id); + DBG1(DBG_IKE, "server requested %N (id 0x%02X), sending '%Y'", + eap_type_names, type, in->get_identifier(in), id); this->eap_identity = id->clone(id); this->method = load_method(this, type, vendor, EAP_PEER); |