Add cache to accounting and preacct
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 6 Sep 2012 16:50:15 +0000 (18:50 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 6 Sep 2012 16:57:19 +0000 (17:57 +0100)
src/modules/rlm_cache/rlm_cache.c

index 72d4189..50cfdba 100644 (file)
@@ -622,8 +622,8 @@ module_t rlm_cache = {
        {
                NULL,                   /* authentication */
                cache_it,               /* authorization */
-               NULL,                   /* preaccounting */
-               NULL,                   /* accounting */
+               cache_it,               /* preaccounting */
+               cache_it,               /* accounting */
                NULL,                   /* checksimul */
                cache_it,               /* pre-proxy */
                cache_it,               /* post-proxy */