From 15f0733f7d06b51a0af9fb303d1808eaafeff510 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 26 Feb 2015 20:40:29 +0100 Subject: [PATCH] PAM accounting is only included when PAM is enabled --- src/config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.c b/src/config.c index 83b63eef..40471f8e 100644 --- a/src/config.c +++ b/src/config.c @@ -464,7 +464,9 @@ typedef struct acct_types_st { static acct_types_st avail_acct_types[] = { +#ifdef HAVE_PAM {NAME("pam"), &pam_acct_funcs, NULL}, +#endif #ifdef HAVE_RADIUS {NAME("radius"), &radius_acct_funcs, radius_get_brackets_string}, #endif