display EAP identifiers in HEX format

This commit is contained in:
Andreas Steffen
2011-04-06 17:34:27 +02:00
parent 0ef9744123
commit c98ed04de0
3 changed files with 8 additions and 8 deletions
@@ -130,12 +130,12 @@ METHOD(tls_application_t, process, status_t,
if (received_vendor)
{
DBG1(DBG_IKE, "server requested vendor specific EAP method %d-%d "
"(id: %u)", received_type, received_vendor,
"(id 0x%02X", received_type, received_vendor,
in->get_identifier(in));
}
else
{
DBG1(DBG_IKE, "server requested %N authentication (id: %u)",
DBG1(DBG_IKE, "server requested %N authentication (id 0x%02X)",
eap_type_names, received_type, in->get_identifier(in));
}
this->ph2_method = charon->eap->create_instance(charon->eap,
@@ -168,12 +168,12 @@ METHOD(tls_application_t, process, status_t,
if (received_vendor)
{
DBG1(DBG_IKE, "server requested vendor specific EAP method %d-%d "
"(id: %u)", received_type, received_vendor,
"(id 0x%02X)", received_type, received_vendor,
in->get_identifier(in));
}
else
{
DBG1(DBG_IKE, "server requested %N authentication (id: %u)",
DBG1(DBG_IKE, "server requested %N authentication (id 0x%02X)",
eap_type_names, received_type, in->get_identifier(in));
}
this->method = charon->eap->create_instance(charon->eap,