mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
PAM accounting is only included when PAM is enabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user