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); 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;
} }