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
+2 -2
View File
@@ -412,8 +412,8 @@ char* plugin_feature_get_string(plugin_feature_t *feature)
case FEATURE_EAP_SERVER:
case FEATURE_EAP_PEER:
if (feature->arg.eap.vendor &&
asprintf(&str, "%N:%d-%d", plugin_feature_names, feature->type,
feature->arg.eap.type, feature->arg.eap.vendor) > 0)
asprintf(&str, "%N:%d-%N", plugin_feature_names, feature->type,
feature->arg.eap.type, pen_names, feature->arg.eap.vendor) > 0)
{
return str;
}