Make the 5 packet methods into an array within module_t - now calling them
[freeradius.git] / src / modules / rlm_dictionary / rlm_dictionary.c
index 2d1d131..42cc130 100644 (file)
@@ -58,11 +58,13 @@ module_t rlm_dictionary = {
        0,                              /* type: reserved */
        radius_init,                    /* initialization */
        NULL,                           /* instantiation */
-       NULL,                           /* authorization */
-       NULL,                           /* authentication */
-       NULL,                           /* preaccounting */
-       NULL,                           /* accounting */
-       NULL,                           /* checksimul */
+       {
+               NULL,                   /* authentication */
+               NULL,                   /* authorization */
+               NULL,                   /* preaccounting */
+               NULL,                   /* accounting */
+               NULL                    /* checksimul */
+       },
        NULL,                           /* detach */
        NULL                            /* destroy */
 };