log the initial value of the EAP identifier

This commit is contained in:
Andreas Steffen
2011-04-05 13:54:26 +02:00
parent 2f7c12a2f4
commit de93154231
@@ -187,12 +187,13 @@ static eap_payload_t* server_initiate_eap(private_eap_authenticator_t *this,
{ {
if (vendor) if (vendor)
{ {
DBG1(DBG_IKE, "initiating EAP vendor type %d-%d method", DBG1(DBG_IKE, "initiating EAP vendor type %d-%d method (id: %u)",
type, vendor); type, vendor, out->get_identifier(out));
} }
else 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; return out;
} }
@@ -376,8 +377,8 @@ static eap_payload_t* client_process_eap(private_eap_authenticator_t *this,
} }
else else
{ {
DBG1(DBG_IKE, "server requested %N authentication", DBG1(DBG_IKE, "server requested %N authentication (id: %u)",
eap_type_names, type); eap_type_names, type, in->get_identifier(in));
} }
this->method = load_method(this, type, vendor, EAP_PEER); this->method = load_method(this, type, vendor, EAP_PEER);
if (!this->method) if (!this->method)