projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ignore post-proxy type if proxy is disabled
[freeradius.git]
/
src
/
main
/
modules.c
diff --git
a/src/main/modules.c
b/src/main/modules.c
index
04a7d0b
..
accb8b9
100644
(file)
--- a/
src/main/modules.c
+++ b/
src/main/modules.c
@@
-1099,8
+1099,8
@@
static int load_byserver(CONF_SECTION *cs)
* proxying.
*/
if (!mainconfig.proxy_requests &&
- ((comp ==
PW_PRE_PROXY_TYPE
) ||
- (comp ==
PW_PRE_PROXY_TYPE
))) {
+ ((comp ==
RLM_COMPONENT_PRE_PROXY
) ||
+ (comp ==
RLM_COMPONENT_POST_PROXY
))) {
continue;
}
#endif