Show result of RADIUS authentication along with EAP identity
This commit is contained in:
@@ -314,12 +314,13 @@ METHOD(eap_method_t, process, status_t,
|
|||||||
{
|
{
|
||||||
process_filter_id(this, response);
|
process_filter_id(this, response);
|
||||||
}
|
}
|
||||||
|
DBG1(DBG_IKE, "RADIUS authentication of '%Y' successful",
|
||||||
|
this->peer);
|
||||||
status = SUCCESS;
|
status = SUCCESS;
|
||||||
break;
|
break;
|
||||||
case RMC_ACCESS_REJECT:
|
case RMC_ACCESS_REJECT:
|
||||||
default:
|
default:
|
||||||
DBG1(DBG_CFG, "received %N from RADIUS server",
|
DBG1(DBG_IKE, "RADIUS authentication of '%Y' failed", this->peer);
|
||||||
radius_message_code_names, response->get_code(response));
|
|
||||||
status = FAILED;
|
status = FAILED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user