projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable building WITHOUT_ACCOUNTING
[freeradius.git]
/
src
/
main
/
modules.c
diff --git
a/src/main/modules.c
b/src/main/modules.c
index
a569c07
..
e8db884
100644
(file)
--- a/
src/main/modules.c
+++ b/
src/main/modules.c
@@
-1106,6
+1106,14
@@
static int load_byserver(CONF_SECTION *cs)
continue;
}
+#ifdef WITHOUT_ACCOUNTING
+ if (comp == RLM_COMPONENT_ACCT) continue;
+#endif
+
+#ifdef WITHOUT_SESSION_MGMT
+ if (comp == RLM_COMPONENT_SESS) continue;
+#endif
+
if (load_component_section(subcs, components, comp) < 0) {
goto error;
}