%{...} is allowed, too
Formatting
Initialise head as NULL
Remove rlm_eap2

The name confuses people and requires a special build of hostapd to work.

Any required EAP methods should be implemented by the rlm_eap module.