projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b5d4d
)
Ignore non-pairs when instantiating modules in "instantiate"
author
aland
<aland>
Tue, 11 Mar 2008 01:43:48 +0000
(
01:43
+0000)
committer
aland
<aland>
Tue, 11 Mar 2008 01:43:48 +0000
(
01:43
+0000)
section. Closes bug #528
src/main/modules.c
patch
|
blob
|
history
diff --git
a/src/main/modules.c
b/src/main/modules.c
index
b0a07b4
..
24063c5
100644
(file)
--- a/
src/main/modules.c
+++ b/
src/main/modules.c
@@
-1001,10
+1001,11
@@
int setup_modules(int reload, CONF_SECTION *config)
ci=cf_item_find_next(cs, ci)) {
/*
- * Skip sections. They'll be handled
- * later, if they're referenced at all...
+ * Skip sections and "other" stuff.
+ * Sections will be handled later, if
+ * they're referenced at all...
*/
- if (
cf_item_is_section
(ci)) {
+ if (
!cf_item_is_pair
(ci)) {
continue;
}