Show result of RADIUS authentication along with EAP identity

This commit is contained in:
Martin Willi
2010-10-07 11:14:09 +02:00
parent 99dfc3c295
commit 962300b920
@@ -314,12 +314,13 @@ METHOD(eap_method_t, process, status_t,
{
process_filter_id(this, response);
}
DBG1(DBG_IKE, "RADIUS authentication of '%Y' successful",
this->peer);
status = SUCCESS;
break;
case RMC_ACCESS_REJECT:
default:
DBG1(DBG_CFG, "received %N from RADIUS server",
radius_message_code_names, response->get_code(response));
DBG1(DBG_IKE, "RADIUS authentication of '%Y' failed", this->peer);
status = FAILED;
break;
}