#include <freeradius-devel/modpriv.h>
-
/*
* %{poke:sql.foo=bar}
*/
exit(EXIT_FAILURE);
}
+ if (xlat_register("poke", xlat_poke, NULL, NULL) < 0) {
+ rcode = EXIT_FAILURE;
+ goto finish;
+ }
+
/* Read the configuration files, BEFORE doing anything else. */
if (main_config_init() < 0) {
rcode = EXIT_FAILURE;
goto finish;
}
- if (xlat_register("poke", xlat_poke, NULL, NULL) < 0) {
- rcode = EXIT_FAILURE;
- goto finish;
- }
-
fr_state_init();
/* Set the panic action (if required) */