eap: Print vendor (PEN) names for vendor-specific EAP methods

This commit is contained in:
Tobias Brunner
2022-09-21 13:53:44 +02:00
parent f6e6fcd2f6
commit 9efd7d7e90
11 changed files with 79 additions and 37 deletions
@@ -185,8 +185,8 @@ METHOD(tls_application_t, process, status_t,
{
if (received_vendor)
{
DBG1(DBG_IKE, "server requested vendor specific EAP method %d-%d "
"(id 0x%02X)", received_type, received_vendor,
DBG1(DBG_IKE, "server requested vendor specific EAP method %d-%N "
"(id 0x%02X)", received_type, pen_names, received_vendor,
in->get_identifier(in));
}
else
@@ -224,8 +224,8 @@ METHOD(tls_application_t, process, status_t,
default:
if (vendor)
{
DBG1(DBG_IKE, "vendor specific EAP method %d-%d failed",
type, vendor);
DBG1(DBG_IKE, "vendor specific EAP method %d-%N failed",
type, pen_names, vendor);
}
else
{
@@ -292,8 +292,8 @@ METHOD(tls_application_t, process, status_t,
default:
if (vendor)
{
DBG1(DBG_IKE, "vendor specific EAP method %d-%d failed",
type, vendor);
DBG1(DBG_IKE, "vendor specific EAP method %d-%N failed",
type, pen_names, vendor);
}
else
{