if (vp) {
eap_tunnel_data_t *tunnel;
- if (!auth_type_eap) {
- RERROR("You must set 'inner_eap_module' in the 'peap' configuration");
- RERROR("This is required in order to proxy the inner EAP session.");
- rcode = RLM_MODULE_REJECT;
- goto done;
- }
-
/*
* The tunneled request was NOT handled,
* it has to be proxied. This means that
* Auth-Type & EAP-Message here?
*/
+ if (!auth_type_eap) {
+ RERROR("You must set 'inner_eap_module' in the 'peap' configuration");
+ RERROR("This is required in order to proxy the inner EAP session.");
+ rcode = RLM_MODULE_REJECT;
+ goto done;
+ }
/*
* Run the EAP authentication.