Setting items in perl and accessing them in C

Alan DeKok aland at
Mon Apr 20 15:51:26 CEST 2009

Samuel Muñoz Hidalgo wrote:
> My question is, how can I get the $RAD_CHECK{'token'} value inside the
> eappeap_success function?

  See request->config

> I've seen the structures handler (EAP_PEAP type) and tls_session
> (tls_sesion type) but I only find values related to the request, not
> to the response or radcheck arrays.

  The packet pairs are request->packet->vps

  The response pairs are in request->reply->vps

  The control items (radcheck, etc.) are in request->config.

  Alan DeKok.

More information about the Freeradius-Devel mailing list